Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use form.hwnd property?
Message
 
To
19/03/1998 09:46:41
F Joseph
Xinjiang Electric Power Company
Urumqi, China
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00085642
Message ID:
00085651
Views:
24
>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.
George

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

Click here to load this message in the networking platform