逍 逍遥红尘 Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-01 #1 请问如何在父窗口调用子窗口时,不显示子窗口标题栏?(mainform中调用childform ,不显示childform的标题栏)
逍 逍遥红尘 Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-01 #2 请问如何在父窗口调用子窗口时,不显示子窗口标题栏?(mainform中调用childform ,不显示childform的标题栏)
A ak_2004 Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-01 #3 在子窗体的create事件中写如下代码: procedure TForm2.FormCreate(Sender: TObject); begin SetWindowLong(Handle, GWL_STYLE, GetWindowLong(Handle, GWL_STYLE) and not WS_CAPTION and not WS_TILEDWINDOW); height := ClientHeight; end;
在子窗体的create事件中写如下代码: procedure TForm2.FormCreate(Sender: TObject); begin SetWindowLong(Handle, GWL_STYLE, GetWindowLong(Handle, GWL_STYLE) and not WS_CAPTION and not WS_TILEDWINDOW); height := ClientHeight; end;
T Toysun Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-01 #4 childform.BorderStyle:=bsNone;