Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use form.hwnd property?
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00085642
Message ID:
00085652
Views:
28
>>In www.toptown.com/nowhere/jinhui/ ,there are many ocx control
>>(shareware).they are design for VB,the worter say that they can use on other platform such as vfp.
>>there is a good ocx control named shape.ocx , it can change form shape for customize.
>>But in VB 5.0,Form has a property named "hwnd",i don't know
>>how to use it in vfp.
>>someone can try it,and tell me. thanks
>
>Ed accidentally left out a step in getting the form's window handle. The value returned by _WFindTitl() is the form's whandle, which is not quite the same thing. In order to retrieve the hwnd, take the value returned by this function and pass it to the Foxtools function _WhTohWnd(). The value that this function returns is the window handle.

Actually, it was accident from my side. I just never used this way. So far, ActiveX I used were happy with FindWindow() return.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform