Click here to Skip to main content
12,512,130 members (58,282 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET C#4.0 Forms
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
 
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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160929.1 | Last Updated 23 Feb 2013
Copyright © CodeProject, 1999-2016
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