Re: mouse outside window
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Jul 11, 2000
- 417 views
chrissy wrote: > I need to know when the mouse cursor (in Windows) > leaves a window. To track the mouse, you can: 1. Set a timer when you start tracking. 2. When the timer goes off, use getMousePos to find the position of the mouse. 3. Use isScreenPointIn to find if the mouse is still in the window 4. Use onLostFocus to see if the window loses focus during the drag. Don't forget to kill the timer when you are done tracking the mouse. Hope this helps! -- David Cuny