Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Losing Focus in Top Level Forms
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00698359
Message ID:
00698379
Vues:
21
>In a top level form running on the desktop with SCREEN=OFF, is there a way to programmatically determine that the top level form has lost focus? I.e. since when the user clicks on some other Win application, the Win desktop, etc. thus removing focus from the top level form application and the top level form Deactivate and Lost Focus events do not fire, is there a way to detect this?
>
>Thanks,
>Bill

How about a timer which compares the hWnd property of the form against the value returned by the GetActiveWindow() API call?
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform