Reputation: 817
I have a project that runs in the background in a different process, I want it to be able to react to keyboard everywhere, for example I run the project, and afterwards I do other stuff in the computer such as browsing, facebook, watching movies etc.., and every time I press F9 I want my project to show up. Same as how you press a combination of keys to invoke Babylon... I want to implement it in C#, I have no idea how to begin.
Upvotes: 2
Views: 6986
Reputation: 126787
You can register a hotkey with the RegisterHotKey
API function. You can see an example of its usage from C# here.
Upvotes: 9