>Hi
>
>i uses GetActiveWindow(), it return one Hwnd.
>
>Exist a fast command for get Form Object reference of the hwnd ?
>
>Example:
>
>thisForm=SomeCommand(thisForm.Hwnd) is true.
>
>Fabio
GetActiveWindow() doesn't return particular form window handle (unless toplevel) but main hwnd window.
Assuming you've the right hwnd I think you still would need to loop _screen.forms collection to find out the form.
Cetin