Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse Moved?
Message
De
30/11/2001 00:11:48
 
 
À
29/11/2001 07:42:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00587356
Message ID:
00587838
Vues:
44
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform