Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get a handle to an object?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00489578
Message ID:
00489587
Vues:
22
>How can I get the handle to a form or any other control?
>
>My humble thanks in advance,

Joe,

A window handle, I assume. VFP controls don't have them (ActiveX, however, do). In VFP 7.0, the forms have an hwnd property that represents the window handle. In VFP 6.0 you can use foxtools to get a particular window handle. Assuming the library's loaded:

lnhwnd = _WhTohWnd(_WFindTitl(Form.caption))
George

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

Click here to load this message in the networking platform