Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get HWND of a Label control
Message
 
À
19/12/2001 03:23:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00595807
Message ID:
00596077
Vues:
55
>>>>>>>Hi there;
>>>>>>>
>>>>>>>I'd like to know how can I get the HWND of a Label control in VFP? Can anybody help...
>>>>>>>
>>>>>>You cannot. Only a form is a WIndows control with HWND. The rest of controls are painted by VFP.
>>>>>
>>>>>Actually, I don't think that labels in any environment (VB and so on) are "controls" with window handles. I believe they're "painted" by the DrawText() function in the API.
>>>>
>>>>I'm not sure about that.
>>>
>>>I just threw together a quick form with a label in VB and it (the label) didn't show up in Spy++.
>>
>>Yes, looks like you are right. Thanks.
>
>Thank you guys.
>Never mind, forget about it. Probably I have to find the other way.
>Again, Thanks.

What are you trying to do?
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