Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Losing Focus in Top Level Forms
Message
De
09/09/2002 13:18:05
 
 
À
09/09/2002 12:19:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00698359
Message ID:
00698392
Vues:
16
>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?
>
You might want to look at FAQ #7957, How do I detect when VFP is no longer in Foreground, as a starting point; it's similar to what GT discusses, but it works with the PID rather than the hWnd to discriminate the loss of focus resulting from a shift to a child window from a loss of focus to another application.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform