Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get HWND of a Label control
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00595807
Message ID:
00595841
Views:
32
>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform