Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get handle of object in form
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00826303
Message ID:
00826419
Views:
20
>In form, it has hWnd property to refer to Form Handle or through DLL-GetWindow() and DLL-GetFocus().
>Now the question is how to get the handle of every object in a form (In Visual Basic, the object also have hWnd property)?
>Let's say i have a form with two command button, i want to know the handle for Command Button1 and Command Button2.
>Thanks,

Andy,

As the others have told you, you can't because VFP controls aren't windows like they are in VB.

The question in my mind is, "What do you want to do?" Perhaps there's something that can be implemented outside of the API to help.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform