Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get handle of object in form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00826303
Message ID:
00826419
Vues:
19
>In form, it has hWnd property to refer to Form Handle or through DLL-GetWindow() and DLL-GetFocus().
>Now the question is how to get the handle of every object in a form (In Visual Basic, the object also have hWnd property)?
>Let's say i have a form with two command button, i want to know the handle for Command Button1 and Command Button2.
>Thanks,

Andy,

As the others have told you, you can't because VFP controls aren't windows like they are in VB.

The question in my mind is, "What do you want to do?" Perhaps there's something that can be implemented outside of the API to help.
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