Can you show your idea in more details? I was thinking, that perhaps you can originally set window position outside the screen, then the preview appears, re-set top and left coordinates of the window. But it's just a vague idea, I don't see a clear implementation yet.
>Thanks, it helped.
>
>Because we have serveral dozen reports, I used a slightly different approuch. If the output is a preview, a timer is created (interval = 1 sec). Then when the preview appears, it is maximized and the is stopped. This mazimizes it on openning but still allows the user to resize.
If it's not broken, fix it until it is.
My Blog