|
-
April 21st, 1999, 07:30 AM
#1
way to detect when the mouse is being move outside of a view
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.
-
April 21st, 1999, 07:53 AM
#2
Re: way to detect when the mouse is being move outside of a view
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
#3
Re: way to detect when the mouse is being move outside of a view
There is some message called WM_MOUSELEAVE. It's available in Win95.
See whether it helps u or not.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|