Removing Annunciators from Taskbar
-
Pocket PC 2002 eVC++ 3.0 I want to programatically remove/add the keyboard annunciator from the taskbar. I suspect that I have to use Shell_NotifyIcon, but I don't know where to find the ID of the icon to remove. Any suggestions? ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends
Did you check this article? http://www.codeproject.com/useritems/fullscreen.asp[^]
-
Pocket PC 2002 eVC++ 3.0 I want to programatically remove/add the keyboard annunciator from the taskbar. I suspect that I have to use Shell_NotifyIcon, but I don't know where to find the ID of the icon to remove. Any suggestions? ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends
Hi, Check this Out ! http://www.pocketpcdn.com/qa/noswitch.html http://www.pocketpcdn.com/qa/fullscreen\_propertysheet.html http://www.pocketpcdn.com/qa/ If you have any questions please let me know in detail. Thanks Siva
-
Pocket PC 2002 eVC++ 3.0 I want to programatically remove/add the keyboard annunciator from the taskbar. I suspect that I have to use Shell_NotifyIcon, but I don't know where to find the ID of the icon to remove. Any suggestions? ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends
I want to *remove* the SIP button altogether (and be able to re-display it when it's needed). ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends
-
I want to *remove* the SIP button altogether (and be able to re-display it when it's needed). ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends
John Simmons / outlaw programmer wrote: I want to *remove* the SIP button altogether (and be able to re-display it when it's needed). Check out the
SHFullScreen
API. In thedwState
parameter, you can specify eitherSHFS_HIDESIPBUTTON
orSHFS_SHOWSIPBUTTON
. -
John Simmons / outlaw programmer wrote: I want to *remove* the SIP button altogether (and be able to re-display it when it's needed). Check out the
SHFullScreen
API. In thedwState
parameter, you can specify eitherSHFS_HIDESIPBUTTON
orSHFS_SHOWSIPBUTTON
.I tried this in the OnCreate function in CMainFrame, but it returned FALSE. The hwnd wasn't NULL, so I can only assume that the iPAQ doesn't support the function call, or I'm not calling it in the right place. ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends
-
I tried this in the OnCreate function in CMainFrame, but it returned FALSE. The hwnd wasn't NULL, so I can only assume that the iPAQ doesn't support the function call, or I'm not calling it in the right place. ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends
That's a shame... The only thing I can recall is that maybe your HWND is not top-level, but being a CFrame-derived it should be... Anyway, examples point to the use of this function on the InitInstance. I'm trying to use it there but is also not working, although no error is returned now.
-
I tried this in the OnCreate function in CMainFrame, but it returned FALSE. The hwnd wasn't NULL, so I can only assume that the iPAQ doesn't support the function call, or I'm not calling it in the right place. ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends
Now I have it. After "hiding" the SIP button, you have to resize the frame window in order to cover it. Also, the toolbar must be hidden.
-
Now I have it. After "hiding" the SIP button, you have to resize the frame window in order to cover it. Also, the toolbar must be hidden.
Hide the toolbar? Doesn't that kinda defeat the purpose? :) ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends
-
That's a shame... The only thing I can recall is that maybe your HWND is not top-level, but being a CFrame-derived it should be... Anyway, examples point to the use of this function on the InitInstance. I'm trying to use it there but is also not working, although no error is returned now.
I'm making the call in CMainFrame::OnCreate. Wouldn't it be a safe guess to say that the CMainFrame class represents the top-level window at it's creation? ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends
-
Hide the toolbar? Doesn't that kinda defeat the purpose? :) ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends
You're kinda right, but I've yet to see a sample of what you want to do. If you go to MSDN, the samples of
SHFullScreen
are exactly that: full screen. I think I led you into a blind alley: maybe this is not the solution you are looking for. Sorry! :(