where is the mouse?
-
I would like my program to know at all times: - Is the mouse in the client area? - If so then where is it? And I want to do this without polling GetCursorPos. A windows message like WM_MOUSEHASJUSTLEFT_YOURCLIENTAREA would be nice because then I could just use the last value I got from WM_MOUSEMOVE without worrying that the mouse has left the premises. Any suggestions? Thanks! -Alex
-
I would like my program to know at all times: - Is the mouse in the client area? - If so then where is it? And I want to do this without polling GetCursorPos. A windows message like WM_MOUSEHASJUSTLEFT_YOURCLIENTAREA would be nice because then I could just use the last value I got from WM_MOUSEMOVE without worrying that the mouse has left the premises. Any suggestions? Thanks! -Alex
TrackMouseEvent does this. But it's not available on Windows 95. Tomasz Sowinski -- http://www.shooltz.com