Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application GotFocus?
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00852470
Message ID:
00852644
Vues:
10
Hi John,

There's no such built-in event in VFP. You can consider two workarounds:
1. Set timer to check periodicaly if your application is the top foremost one using Windows API.
2. Hook into Windows messaging loop of VFP application using COM helper object File #18695.

>Is there an event that fires when my entire program gets focus? Like for instance, the user is working with the app, then they open Outlook or some other program, then they come back to my app. Is there a global gotfocus somewhere that I'm missing, or something I can hook into? Thanks,
>
>jfh
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform