>How can I get the handle to a form or any other control?
>
>My humble thanks in advance,
Joe,
A window handle, I assume. VFP controls don't have them (ActiveX, however, do). In VFP 7.0, the forms have an hwnd property that represents the window handle. In VFP 6.0 you can use foxtools to get a particular window handle. Assuming the library's loaded:
lnhwnd = _WhTohWnd(_WFindTitl(Form.caption))
George
Ubi caritas et amor, deus ibi est