Ashkan Saeedi
Ashkan Saeedi

Reputation: 51

getting keyboard events without the window being focused

i want to get keyboard events without having focus. my application 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.

Upvotes: 5

Views: 3778

Answers (1)

David Brown
David Brown

Reputation: 36239

You'll need to create a global keyboard hook.

Upvotes: 8

Related Questions