Y yhl1118 Unregistered / Unconfirmed GUEST, unregistred user! 2003-09-24 #1 在一个主窗口(A)中showmodal出另一个窗口(B)<br>通常在windows的任务栏只有一个主窗口(A)的标题栏,如何也显示出窗口(B)的标题栏?<br>
4 41426277 Unregistered / Unconfirmed GUEST, unregistred user! 2003-09-24 #2 showmodal后<br>Application.caption:=b;
R RenWang Unregistered / Unconfirmed GUEST, unregistred user! 2003-09-24 #3 Application.Title:=Form2.Caption;<br>Form2.ShowModal;
Y yhl1118 Unregistered / Unconfirmed GUEST, unregistred user! 2003-09-24 #4 谢谢,不过我是希望出现两个标题栏,不是用第2个窗口覆盖第1个窗口的.<br>可以做到吗?
G GipsyCN Unregistered / Unconfirmed GUEST, unregistred user! 2003-09-24 #5 protected<br> procedure CreateParams(var Params: TCreateParams); override;<br>...<br>procedure TForm1.CreateParams(var Params: TCreateParams);<br>begin<br> inherited;<br> Params.WndParent:= GetDesktopWindow();<br>end;<br>
protected<br> procedure CreateParams(var Params: TCreateParams); override;<br>...<br>procedure TForm1.CreateParams(var Params: TCreateParams);<br>begin<br> inherited;<br> Params.WndParent:= GetDesktopWindow();<br>end;<br>