How did I make SIP invisible?

M

Michel Renaud

I dont want the SIP to be in the menu bar. How can this
be done?
I have looked to the SIPShowIM but does not do what I´m
looking for.

Using functions and constants from the OpenNetCF libs:

This hides it (in fact, it makes the icon 0x0 pixels -
it's there but you can't see it):

Dim hWnd As IntPtr
hWnd = FindWindow(Nothing, "MS_SIPBUTTON") '
MS_SIPBUTTON=Name of the SIP button window, from Spy++
SetWindowPos(hWnd, SetWindowPosZOrder.HWND_BOTTOM,
0, 0, 0, 0, SetWindowPosFlags.SWP_HIDEWINDOW) ' Hide it


Don't forget to bring it back on exit:

' Restore the SIP (keyboard) icon
Dim hWnd As IntPtr
hWnd = FindWindow(Nothing, "MS_SIPBUTTON") '
MS_SIPBUTTON=Name of the SIP button window, from Spy++
SetWindowPos(hWnd, SetWindowPosZOrder.HWND_BOTTOM,
204, 295, 36, 24, SetWindowPosFlags.SWP_SHOWWINDOW) ' Show
it


It's not pretty, but it works.
 
I

Ibai Peña

Thanks a lot.
I´m going to try it.

--
Ibai Peña

Michel Renaud said:
I dont want the SIP to be in the menu bar. How can this be done?
I have looked to the SIPShowIM but does not do what I´m
looking for.

Using functions and constants from the OpenNetCF libs:

This hides it (in fact, it makes the icon 0x0 pixels -
it's there but you can't see it):

Dim hWnd As IntPtr
hWnd = FindWindow(Nothing, "MS_SIPBUTTON") '
MS_SIPBUTTON=Name of the SIP button window, from Spy++
SetWindowPos(hWnd, SetWindowPosZOrder.HWND_BOTTOM,
0, 0, 0, 0, SetWindowPosFlags.SWP_HIDEWINDOW) ' Hide it


Don't forget to bring it back on exit:

' Restore the SIP (keyboard) icon
Dim hWnd As IntPtr
hWnd = FindWindow(Nothing, "MS_SIPBUTTON") '
MS_SIPBUTTON=Name of the SIP button window, from Spy++
SetWindowPos(hWnd, SetWindowPosZOrder.HWND_BOTTOM,
204, 295, 36, 24, SetWindowPosFlags.SWP_SHOWWINDOW) ' Show
it


It's not pretty, but it works.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top