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.
我想在没有焦点的情况下获得键盘事件。我的应用程序是一个后台应用程序,当用户在任何应用程序中按下 CTRL+空格键时,应该将“空格”键发送到另一个应用程序。我使用 .NET,我使用 C# 作为语言。
您需要创建一个全局键盘挂钩。