It seems I'm not.  I use D7.  I don't mind altering the ShowModal code in
Forms.pas if necessary.

Thanks,
Ross.

-----Original Message-----
From: delphi-boun...@elists.org [mailto:delphi-boun...@elists.org] On Behalf
Of Jeremy North
Sent: Friday, 15 May 2009 2:48 a.m.
To: Borland's Delphi Discussion List
Subject: Re: WS_EX_APPWINDOW

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 <r...@stationplaylist.com>
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 -> Delphi@elists.org
> http://lists.elists.org/cgi-bin/mailman/listinfo/delphi
>
_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to