确定用户按下了哪个键 [英] Determine which key is pressed by user
本文介绍了确定用户按下了哪个键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,当窗口或窗体未处于活动状态或从系统托盘运行的应用程序时,如何确定用户在vb.net中按下了哪个键。
hello, how to determine which key is pressed by user in vb.net when window or form is not in active state or application running from system tray.
推荐答案
请按照以下链接。在那里,您将获得解决方案中的链接。它将为您提供良好的服务。
按下按键 - 事件生成 [ ^ ]
这也是我一直在寻找的东西。链接有帮助。
Follow the following link. There you will get the links in the solution. It shall serve you good.
Key pressed - event generated[^]
It was something I was looking for too. The links helped.
请参阅..
http://stackoverflow.com/questions/1100285/how-to-detect-the-currently-pressed-key [ ^ ]
http://stackoverflow.com/questions/3348200/determine-if-a-key-is-currently -pressed [ ^ ]
http://www.dotnetperls.com/keycode [ ^ ]
See..
http://stackoverflow.com/questions/1100285/how-to-detect-the-currently-pressed-key[^]
http://stackoverflow.com/questions/3348200/determine-if-a-key-is-currently-pressed[^]
http://www.dotnetperls.com/keycode[^]
Google forC#Global Keyboard钩。那里有很多信息。
Google for "C# Global Keyboard Hook". There''s plenty of information out there.
这篇关于确定用户按下了哪个键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文