Click here to Skip to main content
15,892,839 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created a simple application that brings to top & locks the entire screen with a password unlocker dialog box, so a discovered that when a user clicks on the Windows or Alt+Tab buttons so my app has no sense.

Help me please to Disable Windows & Alt+Tab Buttons

I am wondering if it is possible!

NB: I am an MSVC 6.0 MFC user :thumbsup:

Thank you anyway ;)
Posted
Updated 21-Oct-10 13:43pm
v3

You can try registering Alt+Tab to something (RegisterHotKey). For more check RegisterHotKey[^]
 
Share this answer
 
Comments
Mr. Tomay 21-Oct-10 20:28pm    
what about windows keyboard Button ?
The Manoj Kumar 21-Oct-10 23:30pm    
Check the link, MOD_WIN 0x0008 modifier is used for Windows key.
Another way can be to use a Low Level Hook. See here Disable Alt Tab[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900