如何在Windows窗体中禁用Windows + D组合键
我有一个看起来像小部件的窗体
我必须禁用win +x组合kesy,如alt + f4 win + d。因为小部件没有使用快捷键最小化关闭的属性
i已禁用我的小部件中的win + d键但是已禁用所有应用程序
我所做的只是禁用我的应用程序的win + d和shorcut键,如widget。
当some1按任何胜利+ d然后像Internet Explorer(如果打开)这样的后台应用程序将被最小化或最大化。
任何想法我怎么能这样做?
像雨量计或类似xwidget有相同的属性!任何想法他们怎么能这样做?
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?
如果你在谈论一个Windows小工具,那么有一些文章在其中 [ ^ ]可能会有所帮助。
If you are talking about a Windows gadget, then there are some articles here[^] that may help.
使用javascript
Opera MSIE Firefox Safari Chrome键按下
_________________________________________________________
219 91 91 91 91 WIN键(开始)
0 93 93 93 93 WIN菜单
65-90 65-90 65-90 65-90 65-90 A到Z
通过javascript阻止按键...
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...