Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get HWND of a Label control
Message
 
To
19/12/2001 03:23:29
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00595807
Message ID:
00596077
Views:
48
>>>>>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform