Hi everyone,
I'm new to this forum. So, if this question already has been discussed, please give me a hint, where I could find the solution. By the way, I didn't find it by searching the forum.
I'm responsible for a usercontrol (a button). It gives our application a common look and feel and encapsulates some features. One is an enumeration of defined standard buttons, where images and text are defined, e.g. for a save button, including the shortcuts.
Now I have to resolve the problem, that this button e.g. when being a save button should react on typing ctrl+f (anywhere in the form which it is on). Therefore I can’t use events like key_down.
I’ve tried the API RegisterHotKey, but with this I have the problem, that the shortcut also reacts in others applications as typing ctrl+f in Word reacts on starting the search in our application.
Can anyone please help me?
Tanks
Markus
I'm new to this forum. So, if this question already has been discussed, please give me a hint, where I could find the solution. By the way, I didn't find it by searching the forum.
I'm responsible for a usercontrol (a button). It gives our application a common look and feel and encapsulates some features. One is an enumeration of defined standard buttons, where images and text are defined, e.g. for a save button, including the shortcuts.
Now I have to resolve the problem, that this button e.g. when being a save button should react on typing ctrl+f (anywhere in the form which it is on). Therefore I can’t use events like key_down.
I’ve tried the API RegisterHotKey, but with this I have the problem, that the shortcut also reacts in others applications as typing ctrl+f in Word reacts on starting the search in our application.
Can anyone please help me?
Tanks
Markus