捕获Windows键 [英] trapping windows key
本文介绍了捕获Windows键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,我真的是这个点网中的新手,目前正在尝试建立Windows防火墙,但是我什至对如何捕获Windows按钮和使表单失去焦点都没有丝毫的线索,请给我帮助
hey guys please am really new in this dot net stuff and am currently trying to build a windows firewall but i dont even have the slightest clue on how to trap the windows button and make the form loose focus please i ned help
推荐答案
键代码 LWin & RWin 可以帮助您做到这一点.
The key codes LWin & RWin may help you to do that.
LWin The left Windows logo key (Microsoft Natural Keyboard)
RWin The right Windows logo key (Microsoft Natural Keyboard)
这是密钥枚举的完整列表-
https://msdn.microsoft.com/en-us/library/system. windows.forms.keys.aspx [ ^ ]
要实现此目的,请查看本文档末尾列出的示例.
希望对您有帮助:)
Here is the complete list of Keys Enumeration-
https://msdn.microsoft.com/en-us/library/system.windows.forms.keys.aspx[^]
To implement this, checkout the Examples listed in the end of this document.
Hope, it helps :)
这篇关于捕获Windows键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文