Clive Walker
April 21st, 1999, 07:30 AM
I am working on an app which draws its own supplementary crosshair cursor and I need to know when the mouse has been moved or is about to moved outside the view, so I can delete the crosshair.
|
Click to See Complete Forum and Search --> : way to detect when the mouse is being move outside of a view Clive Walker April 21st, 1999, 07:30 AM I am working on an app which draws its own supplementary crosshair cursor and I need to know when the mouse has been moved or is about to moved outside the view, so I can delete the crosshair. R.K.M. April 21st, 1999, 07:53 AM use SetCapture to ensure that you receive mouse messages even when the cursor is outside the window. You can then test all mouse_move positions to see if still inside the view. If not then release capture and erase crosshairs. April 21st, 1999, 08:10 AM There is some message called WM_MOUSELEAVE. It's available in Win95. See whether it helps u or not. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |