|
-
Dec 11th, 2007, 02:01 PM
#5
Re: Enable/disable win key
there are a couple of recent threads on this for use in vb6. This gets asked all the time because the windows key will case some games to crash to desktop if you hit it while playing accidently (easy if the ctrl is the fire button).
Either search the forums for "Block ctrl-esc" or something like that (because that's what the windows key really is) or study up on making a keyboard hook. Your app needs to hook the keyboard so all keypresses are filtered through it. Then it returns back to the OS ones it allows. Basically your sub would get called with each keypress.
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
|