Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Auto Close a form?
Message
De
25/01/2009 11:00:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01376662
Message ID:
01376875
Vues:
22
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform