>Hi Wil
>
>Just thought you might be interested: I found out this API call for watching the mouse move thanks to Anatoliy at
http://www.news2news.com/vfp.
>
>DECLARE INTEGER GetCursorPos IN user32 STRING @lpPoint
>
>But again you need to check for it inside a loop. And the way to stop the 100% cpu usage inside the loop is to insert your suggested Sleep() function.
>
A timer would be even better. :)
--sb--