Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use form.hwnd property?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00085642
Message ID:
00085652
Vues:
30
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform