I tried it so:

procedure TForm1.BitBtn1Click(Sender: TObject);
Var F:TForm2;
begin
F:=TForm2.Create(Application);
F.Caption:='Ize-bize';
F.ShowModal;
F.Free;
end;


Seems do just what you want, without playing with windows messages
directly.


By(t)e

Laca
www.kovacslt.fw.hu
mailto:[EMAIL PROTECTED]

----- Original Message ----- 
From: "Peter Laman" <[EMAIL PROTECTED]>
To: "Delphi Talk" <[email protected]>
Sent: Wednesday, November 09, 2005 10:52 AM
Subject: //Taskbar, alt-tab


> Hello,
>
> Windows uses the WS_EX_APPWINDOW and WS_EX_TOOLWINDOW styles to control
> whether a window  is on the taskbar and in the Alt-Tab list. The 
> appearance
> on taskbar and alt-tab list seem to be linked to each other. Yes, if I
> activate a dialog in MS Word, the dialog is not on the taskbar, the 
> document
> is, but in the alt-tab list I only find the dialog... So it must be 
> possible
> to have a window appear in the alt-tab list, but not on the taskbar and
> that's exactly what I want in a particular situation. The question is: 
> how?
> Does anybody...
>
> Thanks,
>
> Peter
>
> __________________________________________________
> Delphi-Talk mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi-talk
> 

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to