Adding Shortcut keys at runtime
C#
1
Posts
1
Posters
0
Views
1
Watching
-
I have a program that uses an XML file to set up the programs configuration. What I want to do is use the XML file to set up shortcut keys so that they run specific events on specific user controls. (e.g. bind Return to a user control and bind F7 to a different user control) Just to note, but registering the keys as Hotkeys doesn't work, as I only want the shortcut keys to work while the program has focus. (And registering the keys as hotkeys is a bad thing. I want to bind Return to a control, but if I register it as a HotKey, then return does not work in other programs for as long as my one is open.) - Dave