Is it possible to intercept a keystroke (and characters) sent to a window? By intercept, I mean play man-in-the-middle, instead of having just hooks onto the Window.
I'd like to filter (i.e. eliminate some keystrokes) keystrokes to a window.
Is it possible to intercept a keystroke (and characters) sent to a window? By intercept, I mean play man-in-the-middle, instead of having just hooks onto the Window.
I'd like to filter (i.e. eliminate some keystrokes) keystrokes to a window.
Use SetWindowsHookEx(). Just eliminating keystrokes can be done with a simple WH_KEYBOARD_LL hook. It is not a global hook so is easy to get right. Googles very well too.