Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Screen
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00164942
Message ID:
00171187
Vues:
37
>>It'd take whatever window had focus; assuming that GetActiveWindow() grabs the VFP window, then GetWindow() would follow the behavior associated with GW_CHILD:
>>
>>The retrieved handle identifies the child window at the top of the Z order, if the specified window is a parent window; otherwise, the retrieved handle is NULL. The function examines only child windows of the specified window. It does not examine descendant windows.
>>
>>It's a blind stab, and makes some tremendous assumptions about VFP's treatment of forms as direct child windows of GetActiveWindow(). But it's worth a shot if you haven't found something more promising...
>
>Hi Ed,
>
>Well, it was worth trying. I tried passing the window handle as the bScan parameter, and tried using SetActiveWindow() to set the window, but no luck.

Did it return a non-null value?
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