I know the title looks obvious. And that why it's difficult to find relevant information in my case (search key words always drive to same subjects).
I'd like to (temporally) totally disable the mouse. I don't mean "prevent the user from using it" neither "hide the cursor", which I already manage to do with this grabbed code :
Code: Select all
BlockInput, On
MouseGetPos, , , hwnd
Gui Cursor:+Owner%hwnd%
BlockInput MouseMove
DllCall("ShowCursor", Int,0)
Code: Select all
BlockInput, Off
BlockInput MouseMoveOff
DllCall("ShowCursor", Int,1)
That's why I'm wondering how to completely disable the mouse (and the enable it again !). I mean that it shouldn't exist any more.
I hope I've been clear and I didn't miss obvious ways to do.
Thanks