How to hide mouse globally ?
-
Hi I have a dialog based MFC application in which I want to hide mouse globally. I mean to say when I hide mouse it gets hidden but when i move my mouse over some other application or some other window, it gets displayed. What I want to do is, once I hide my mouse, no matter where I move it, it should not be shown..... Or is there any function through which I can disable my mouse ? Regards Amarelia Maehsh Gujarat India
-
Hi I have a dialog based MFC application in which I want to hide mouse globally. I mean to say when I hide mouse it gets hidden but when i move my mouse over some other application or some other window, it gets displayed. What I want to do is, once I hide my mouse, no matter where I move it, it should not be shown..... Or is there any function through which I can disable my mouse ? Regards Amarelia Maehsh Gujarat India
i don't know of a funtion doing this but have you tried using a global mousehook? are you familiar with window hooks? i copuld imagine catching WM_SETCURSOR will do this but i'm not sure. some links: WM_SETCURSOR SetWindowsHookEx() MouseProc() good luck! ___________________________________________ http://www.hartwork.org