Thanks for all the replies. I guess I was hoping for some esoteric function where you pass the Form object and returns the Window Handle and HDC. You know, something nice like: hWnd=GetHwnd(Form1)
I am glad to hear VFP 7 will have this property.
Also, along the same lines, does anyone know if the Image object in VFP 6 have a windows handle and how to get that?
Costas
>>Does anyone know of a better way to get a handle to a form other than using the FindWindow API? I am using VFP6.0 SP3 >> >>Costas >> >>I hope they have this as a property in VFP7 > >Yes, there is a window handle form property in VFP 7.