Search code examples
c#keyboardhookkeyboard-hookglobal-hotkey

C#: Global Hotkey blocks Input


Hello StackOverflow Community. I wanted to use Hotkeys in my Program so I looked how to make Global Hotkeys. The Normal Global Hotkeys you find on the Internet are getting blocked by Games or similair programs so I used this one: CodeProject.com

The Only Problem now is that all registered Hotkeys are not usable anymore. Even if you write a Text File, you won't be able to use the Keys that are used as a Hotkey.

Thank you.


Solution

  • OK I found out how it works. If I am not putting e.Handled to the Keyboard Methods, it won't block my Input. Thank you very much :)