I want to use global hotkeys (one that works outside of the app) and i found this
It looks like i need to initialize it using a System.Windows.Window. But how do i get one?
I want to use global hotkeys (one that works outside of the app) and i found this
It looks like i need to initialize it using a System.Windows.Window. But how do i get one?
System.Windows.Window is a WPF Window.
If you are doing this with Windows Forms or no form, you can setup a low-level keyboard hook, and trap your hotkey that way.