Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Window handle in VFP
Message
From
29/03/2001 05:05:58
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00489760
Message ID:
00489765
Views:
8
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform