>George, thank you for this idea.
>The code uses .nHwndOwner property as window handle.
>Help text is poperty sheets says "for internal use only". However, this property is always zero! Why ?
>
>I added the line
>
>
> oCD.nHwndOwner = _screen.ActiveForm.hwnd
>
>
>to my code. Now it is impossible to hide this dialog by clicking vfp main window caption.
>
>However, save as dialog is still positioned at leftmost column of _screen, not at leftmost column of activeform. Why ?
>There is also .nInstance property, also "for internal use only". Maybe this helps ?
>
Andrus,
I haven't had a opportunity to look closely enough at the class to be able to tell you the answer to these questions. In the next few days, I'll try to take a look and maybe figure out an answer for you.
George
Ubi caritas et amor, deus ibi est