Disable key combination
-
Reading all the articles about hooks I've found out how to monitor keyboard input but is there a way to disable key combinations on this level of interception? For example when windows is hooked by my program and user presses Shift+Insert I wouldn't like the text to be inserted from the clipboard but do some other actions. And vice versa how can I emulate different key combinations presses?
-
Reading all the articles about hooks I've found out how to monitor keyboard input but is there a way to disable key combinations on this level of interception? For example when windows is hooked by my program and user presses Shift+Insert I wouldn't like the text to be inserted from the clipboard but do some other actions. And vice versa how can I emulate different key combinations presses?
As you said that it is possible using keyboard hooks (as you said there are lots of artciles on codeproject)... I think I have disabled the ctrl+alt+del in one my applications and instead of restarting it was calling my About Dialog... Well... I am a beginner ...
-
As you said that it is possible using keyboard hooks (as you said there are lots of artciles on codeproject)... I think I have disabled the ctrl+alt+del in one my applications and instead of restarting it was calling my About Dialog... Well... I am a beginner ...
Use GetAsyncKeyState API to determine whether Shift or Control buttons were pressed.