Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
System idle detection
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00751655
Message ID:
00751685
Views:
15
>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!
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform