|
-
October 14th, 1999, 07:47 PM
#1
Taskbar deactivation
Is it possible to deactivate the Windows Taskbar? I can make it disappear using SHAppBarMessage and ShowWindow, but if I push the Windows logo key on my keyboard the Start menu pops up anyway. Is it a matter of trapping the Windows logo key up/down event? Tried that too and funnily enough I can see the key down event but not the key up event.
Any and all suggestions welcome.
John
-
November 23rd, 1999, 05:50 PM
#2
Re: Taskbar deactivation
If you don't mind, could you please tell me how you went about hiding the taskbar? Can you bring it back when you're done?
-
November 24th, 1999, 03:23 AM
#3
Re: Taskbar deactivation
Checkout the code at http://codeguru.developer.com/vb/articles/1752.shtml
- it allows you to show/hide the taskbar and the icons on your desktop
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
-
November 24th, 1999, 04:41 AM
#4
Re: Taskbar deactivation
Cool!!!.. Chris THAT is you :-)
RK
-
November 24th, 1999, 12:09 PM
#5
Re: Taskbar deactivation
VERY cool! That's exactly what I needed. Danke Zhen!!
-
November 24th, 1999, 01:54 PM
#6
Re: Taskbar deactivation
IMHO, there are quite few ways to disable the Start Menu:
1) Still use FindWindow like you have been doing, but use SendMessage API to actually close the taskbar. I haven't tested this to see if it works, but I'll be interested to know the results. Unfortunately this option is not very attractive as you cannot show the taskbar without logging on again :-(
2) Use the method that you are currently using, but explore flags such as GW_CHILD. I'm not sure if the Start Menu is part of the taskbar, but if it is a bit like a child window some API calls might just disable it.
3) Hide the taskbar and then move it using SetWindowPos API. Move it right off the screen so that the Start Menu appears off-screen. Again, I have not tested this, so I will be interested in the results.
4) Set up a system-wide hotkey for the Windows Key. When pressed it runs a routine that does nothing or displays a message or whatever. Haven't tested this option either, so I don't know if Windows will let you 'pinch' its hotkey. Also, you'll want to register Ctrl+Esc as a hotkey as this also brings up the start menu.
Hope this helps, let me know if any of these work,
psiclone
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|