>Hi,
>
>How can I determine if the system has been Idle for a while? I have a VFP8 application that should minimize if the user hasn't worked for a while, and upon activation display the Application's logon form.
>
>Anybody some idea's?
>
>TIA,
>
>Stefan
Hi Stefan,
If I understand correclty, you want to determine the system idle time, not just inactivity in your application. Then, in Win2000 and up you might want to try the GetLastInputInfo() Windows API func. The function requires the use of STRUCTures. For Win98/Me and earlier, here is an article that might help, with VC++ 6.0 source code included
http://www.codeproject.org/dll/trackuseridle.asp .
HTH,
Sorin