开发者

getting keyboard events without the window being focused

开发者 https://www.devze.com 2022-12-09 09:30 出处:网络
i want to get keyboard events without having focus. my applic开发者_C百科ation is a background application and should send \"space\" key to another app when user presses CTRL+space in any application.

i want to get keyboard events without having focus. my applic开发者_C百科ation is a background application and should send "space" key to another app when user presses CTRL+space in any application. i use .NET and i use C# as language.


You'll need to create a global keyboard hook.

0

精彩评论

暂无评论...
验证码 换一张
取 消