Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get hWnd?
Message
From
30/03/2001 06:34:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
30/03/2001 01:30:14
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00490220
Message ID:
00490247
Views:
13
>Hi,
> How could I get VFP form and control's hWnd using WINAPI?
>
>Thank you

John,
For main window you could use mainhwnd() from foxtools.fll
For controls' hwnd check obj2bmp from files section.
AFAIK you can get handles to child windows but unlike other apps not a different window exists for controls. However you could get a device context to their rectangle area as shown in obj2bmp.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform