>Hi,
> How could I get VFP form and control's hWnd using WINAPI?
>
>Thank you
The window handle for VFP forms (6.0 and prior) can be retrieved by loading Foxtools and issuing lnhwnd = _WhTohWnd(_WFindTitl(Form.Caption)). In VFP 7.0, the window handle is a property of the form. In VFP (including 7.0), native controls are not regular windows objects (windows) as they are in other languages, so they do not have a window handle.
George
Ubi caritas et amor, deus ibi est