Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一个程序在用户未激活/未选择或最小化为 KeyCodes 时做出响应。有人有想法吗?在 VB.NET 中。
这不会开箱即用,因为关键消息只会发送到活动窗口。最小化的窗口永远不会处于活动状态。
您可以尝试注册系统范围的热键。您也可以尝试安装键盘挂钩,但是,这会影响整个系统,并且您的应用程序将接收执行的所有击键。这将需要有效的过滤。