>>>Actually, it was accident from my side. I just never used this way. So far, ActiveX I used were happy with FindWindow() return.
>>
>>With child windows? I've never tried it, because according to the Win32.hlp file, it only searches top level windows. Of course, if the form is defined as such, then it does work. For the main VFP window, I use the foxtools MainhWnd() function. Of course, as you might guess, foxtools is a part of all my applications. :-)
>
>Yes it worked with standard forms. I guess any ActiveX should tested for particualr situation.
Well, I'll be...Apparently the doc is wrong. Thanks, Ed.
George
Ubi caritas et amor, deus ibi est