>>Thanks for the feedback. When time permits I will look into it. As for the VPM part, I don't have a version of VPM to test with. But should be able to find a workaround.
>>
>>>Greg (and Naomi),
>>>
>Hi Greg,
>
>I haven't tried your class, but does it detect inactivity in general or only inactivity for VFP application? (Work in other applications - Word, e-mail can still be done)?
Based on Robert's suggestion, I see I need to enhance it. It appears to track all mouse activity in Windows. It does serve well if the user simply walks away from the machine. But does not close the form if they are doing something in another application. I will look into an API that depends on a HWND handle to VFP.
Greg Reichert