Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse Moved?
Message
 
 
À
30/11/2001 00:11:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00587356
Message ID:
00587840
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.
>

A timer would be even better. :)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform