Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Window handles - how to determine the value
Message
De
03/07/1999 14:16:19
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00237075
Message ID:
00237232
Vues:
10
>Ed,
>
>But mainhwnd() is just as easy and doesn't require VFP being the active window at the time.
>

No question that mainhwnd() is useful, but it does require FOXTOOLS.FLL; GetActiveWindow is always there as a part of the Win32 environment.

>>In addition, you can use the extrememly simple GetActiveWindow API call as long as VFP has focus:
>>
>>DECLARE INTEGER GetActiveWindow IN WIN32API
>>nhWnd = GetActiveWindow()
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
Répondre
Fil
Voir

Click here to load this message in the networking platform