如何使用VB.NET中的注册表禁用键盘上的Windows键? [英] How do I disable the Windows key on the keyboard using the registry in VB.NET?
本文介绍了如何使用VB.NET中的注册表禁用键盘上的Windows键?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在VB.NET中禁用Windows键 onload
事件并在关闭时启用它。
如何在VB中执行此操作.NET?
请给我一个解决方案。
I would like to disable Windows key onload
event in VB.NET and enable it on close.
How do I do it in VB.NET?
Please give me a solution.
推荐答案
快速搜索得出这个答案在VB.net中禁用Windows密钥 [ ^ ]。
试一试。
A quick search yielded this answer Disabling Windows Key in VB.net[^].
Have a look an try it.
没有要更改的注册表项。唯一的方法是实现一个全局键盘,当你看到它时,不要将键击发送到钩子链上。
There is no registry key to change to do that. The only way to do that is to implement a global keyboard and just don't send the keystroke up the hook chain when you see it.
这篇关于如何使用VB.NET中的注册表禁用键盘上的Windows键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文