>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