Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the easiest way to get Window handle value?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00051377
Message ID:
00052694
Vues:
62
>ALL,
>
>The _Wxxx functions are listed in the Online Documentation CD under API library construction,
>External Routines A-Z... (At least for the Visual Studio 97 version...)
>
>I found out a couple of things as far as the _W calls are concerned....
>
>If you just use _Wfindtitl("Form Name") by itself, you get back a very long integer
>which is really the value for 'wh' which you can feed to the other _W functions....
>
>I have no idea what the difference is between the wh handle verses the hwnd converted handle
>using _Whtohwnd....anyone know?
>
>Anyway if you use the wh return value you can call:
>
>_Whide(), _Wshow(), _Wsettitle, etc... (And they work!!!)
>
>If you call _Wsetport() and _Wgetport, they act more like the regular Win32 Setfocus() and Getfocus()
>should work but don't in VFP 5.0 windows.....
>
>Jon
>
>------------------------------
Thanks.

George
George

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

Click here to load this message in the networking platform