Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse Moved?
Message
From
30/11/2001 00:11:48
 
 
To
29/11/2001 07:42:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00587356
Message ID:
00587838
Views:
43
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.

Thanks again

Jos
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform