开发者

How to Get handle of a window and disable the Keyboard inputs using c#?

开发者 https://www.devze.com 2022-12-30 21:50 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消