Making “global” hotkeys in WPF
问题 I'm programming an application consisting of three usercontrols in an main window. In one of the usercontrols, there's a slider that needs to be controllable by keyboard input. The left arrow should decrease value, right button increase and so on. I have this work, but only when the slider has focus. If some other control has focus, I cant make it work at all. Is it possible to define "global" hotkeys? IE keys that trigger the same event or function, no matter where the focus is? Hope I've