Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handle to window
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00383595
Message ID:
00383673
Views:
16
>Does anyone know of a better way to get a handle to a form other than using the FindWindow API? I am using VFP6.0 SP3
>
Costas,

If you mean a VFP form running on the desktop, FindWindow() won't get it since it since it doesn't search child windows. You'd have to use several API calls, and they can be tricky to deal with. Easier is to load Foxtools and use: lnhwnd = _WhTohWnd(_WFindTitl(Form.caption)). Is this what you're looking for?
George

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

Click here to load this message in the networking platform