We have developed an application which is in SDI form and has multiple Forms using VB 2005 with .net framework 2.0. We need to provide hotkeys to perform specific actions. This hotkey may be pressed in any of the forms throughout the application. The system should be able to recognize this key press is required to execute some code.
In the above context i have done some research and got a solution which is very close to the one which i require -
The limitation in the solution above is that it works system wide. When my application is minimized and user presses the hotkey, my application still responds to that, which is NOT required.
How can this be achieved?
The hotkey we are trying to use are all the function keys and other keys in combination with CTRL key.