Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have a windows form which looks like a widget

i have to disable the win + "x" combination kesy like alt+f4 win+d . because widget have no properties of minimize close with shortcut keys

i have disabled the win+d keys in my widget but it disabled for all the apps

what i have o do is to only disable the win + d and shorcut keys for my application like widget .

when some1 press any win+d then the background application like internet explorer(if open) will be minimized or maximized.

any idea how can i do that ?

like rain meter or like xwidget have the same properties! any idea how can they do that?
Posted

If you are talking about a Windows gadget, then there are some articles here[^] that may help.
 
Share this answer
 
use javascript for that
Opera MSIE Firefox Safari Chrome Key pressed
_________________________________________________________
219 91 91 91 91 WIN Key (Start)
0 93 93 93 93 WIN Menu
65-90 65-90 65-90 65-90 65-90 A to Z

prevent key press for that by javascript...
 
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