Information générale
Catégorie:
Fonctions Windows API
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement