Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
System idle detection
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00751655
Message ID:
00751691
Vues:
13
Thanks for the suggestion, however MROW(), MCOL() will help tracking the mouse position only inside the VFP window. Outside VFP the value returned by MROW(), MCOL() is -1. I am looking for tracking keyboard and mouse system events, not just VFP events.


>>I am trying to create an idle trigger in VFP based on user (in)activity at the system level. I believe that tracking the Windows keypress, mousemove and mouseclick events should be sufficient to determine that the user is still active at that system. The EVENTTRACKING in VFP may provide some functionality though impractical to track all events into a disk file. I am interested in detecting the time of last keyboard input and of the last mouse move and/or click. How would API functions for tracking user activity be utilitzed in VFP?
>>
>>Thanks in advance
>
>try taking a simpler approach... using a timer, store the MCOL(), MROW() - check it again at a particular interval, and if the same, the mouse has not moved!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform