>>>>>>>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