Click here to Skip to main content
11,415,000 members (64,015 online)
Rate this: bad
good
Please Sign up or sign in to vote.
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 22-Feb-13 21:00pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

If you are talking about a Windows gadget, then there are some articles here[^] that may help.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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...
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 9,160
1 OriginalGriff 7,487
2 Maciej Los 3,710
3 Abhinav S 3,298
4 Peter Leow 3,084


Advertise | Privacy | Mobile
Web02 | 2.8.150427.4 | Last Updated 23 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100