Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get hWnd?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00490220
Message ID:
00490280
Vues:
10
>Hi,
> How could I get VFP form and control's hWnd using WINAPI?
>
>Thank you

The window handle for VFP forms (6.0 and prior) can be retrieved by loading Foxtools and issuing lnhwnd = _WhTohWnd(_WFindTitl(Form.Caption)). In VFP 7.0, the window handle is a property of the form. In VFP (including 7.0), native controls are not regular windows objects (windows) as they are in other languages, so they do not have a window handle.
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