>>>>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++.
George
Ubi caritas et amor, deus ibi est