How to Get handle of a window and disable the Keyboard inputs using c#?
How to Get handle of a window and disable the Keyboard inputs using 开发者_运维百科c# ?
To prevent keyboard input in a window in another process, you need to make a keyboard hook.
You can then check GetForegroundWindow()
and suppress the input.
精彩评论