I need to write a Windows application which monitors keystrokes regardless of focus. When it detects a particular keystroke (Ctrl + V, specifically), it needs to perform certain actions.
如何从 C# 监控 Windows 中的击键而不考虑焦点?
我不完全理解你的问题,但是如果你想注册全局密钥,无论你的窗口焦点如何,你可以使用注册热键 http://msdn.microsoft.com/en-us/library/ms646309%28v=vs.85%29.aspx窗口 API。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)