>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