M
Michel Renaud
I dont want the SIP to be in the menu bar. How can this
be done?
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.
be done?
looking for.I have looked to the SIPShowIM but does not do what I´m
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.