Click here to Skip to main content
13,453,456 members (42,249 online)
Rate this:
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 20:00pm
Rate this: bad
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.
Rate this: bad
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...

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04-2016 | 2.8.180318.3 | Last Updated 23 Feb 2013
Copyright © CodeProject, 1999-2018
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