Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find a descriptor HWND of Forms?
Message
 
To
31/05/2001 06:30:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00513051
Message ID:
00513105
Views:
21
>Hi All.
>
>How it is easy to find a descriptor HWND of windows?
>
>It is necessary for usage in API.
>
>Thank for the information.

Koyla,

Is_Run32 won't find the handle of a child form of VFP. It's most easily obtained by using the _WFindTitl() and _WhTohWnd() functions in foxtools, let this:
lnhwnd = _WhTohWnd(_WFindTitl(< form caption >))
Naturally, foxtools has to be loaded before making the calls. You can get the absolute position of the window's co-ordinates by using the _GetWRect() function in the library as well. It maps to the API call Cetin mentioned. You can find documentation on these in my Extended Foxtools Help file from the download section.
George

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

Click here to load this message in the networking platform