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.
在 VB.NET 中,我可以添加一个事件侦听器以在表单内单击,但我希望程序在我单击其他地方时获取表单外的单击。这可能吗?
您正在谈论全局鼠标挂钩,codeplex 项目GlobalMouseKeyboardHook是实现它的更简单方法之一。