How to hide and disable cursor globally?

Posted by trudger on Stack Overflow See other posts from Stack Overflow or by trudger
Published on 2010-05-03T17:45:46Z Indexed on 2010/05/03 18:38 UTC
Read the original article Hit count: 180

Filed under:
|
|

I have two questions:

  1. How to hide cursor for all programs? I tried to hide the cursor by using ShowCursor, but it only works in my program. The cursor still appears when moving cursor outside of my program.
  2. How to disable mouse operations for all programs? I use SetWindowsHookEx to hook mouse and prevent other programs to processing the mouse operations. I can hook the clicks, but the problem is that I can't hook the "move". When I move the mouse to menu or system buttons ("minimize/restore/close"), they are highlighted. This means they can still "see" the mouse.

Can anyone help me please?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about c++