Disable Mouse moves and clicks using c# windows application
I want to Enable the Mou开发者_JAVA百科se moves and clicks Using c# windows application. How to do this ?
I don't want to unplug my mouse from my PC. :)
You can use this library to make a mouse hook that can suppress the mouse input.
You can then check GetForegroundWindow()
and set e.Handled
to true
.
Find the GUID of mouse and disable the mouse using c#
精彩评论