If you are using a Delphi version that supports the PopupMode and
PopupParent properties -

Set the PopupMode to pmExplicit and the PopupParent to be the form
that has WS_EX_APPWINDOW set.



On Thu, May 14, 2009 at 10:18 PM, Ross Levis <[email protected]> wrote:
> I'm overriding CreateParams of a child form so it can have a separate
> taskbar and also not be minimized when the main form is minimized, like
> this...
>
> Params.ExStyle   := Params.ExStyle or WS_EX_APPWINDOW;
> Params.WndParent := GetDesktopWindow;
>
> But I have a visual problem when I ShowModal a form from this child form, it
> displays the applications main form under the modal form, instead of the
> child form that called it.  It doesn't look good.
>
> Is there a simple solution?
>
> Thanks,
> Ross.
>
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://lists.elists.org/cgi-bin/mailman/listinfo/delphi
>
_______________________________________________
Delphi mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to