I want to Enable the Mouse moves and clicks Using c# windows application. How to do this ?
I don't want to unplug my mouse from my PC. :)
I want to Enable the Mouse 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
.