Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Window handle in VFP
Message
De
29/03/2001 05:05:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00489760
Message ID:
00489765
Vues:
7
Try the following code:-
set library to foxtools.fll

lnWindow = _WFindTitle(ThisForm.Caption)
lnHWND   = _WhToHWnd(lnWindow)
If you type display status after setting the library to foxtools then you will see there are other useful commands listed such as MainHwnd().

VFP 7 has a native HWND property for its forms.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform