Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Auto Close a form?
Message
From
25/01/2009 11:00:59
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01376662
Message ID:
01376875
Views:
18
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform