Hello!
Is it possible to detect and suppress the pressing of some specific keys while the application is running (even when it is not focused)? How could I do that?
I mean, if the user presses one of those keys, the focused window should not receive the key, and my application would do something else.
In my case, the keys would be the ones in the numeric keypad: 0..9, dot, *, etc. If the user presses Numpad8 in Notepad, the "8" should not be sent to Notepad, but my program should detect that the Numpad8 key was pressed; however, the 8 key above U and I should have the normal behaviour and should not be detected.
Thank you!
Is it possible to detect and suppress the pressing of some specific keys while the application is running (even when it is not focused)? How could I do that?
I mean, if the user presses one of those keys, the focused window should not receive the key, and my application would do something else.
In my case, the keys would be the ones in the numeric keypad: 0..9, dot, *, etc. If the user presses Numpad8 in Notepad, the "8" should not be sent to Notepad, but my program should detect that the Numpad8 key was pressed; however, the 8 key above U and I should have the normal behaviour and should not be detected.
Thank you!