C
coolbaby
Unregistered / Unconfirmed
GUEST, unregistred user!
大家都知道如下代码可以实现隐藏标题栏<br>如何恢复标题栏呢?<br>procedure TForm1.Button1Click(Sender: TObject);<br>begin<br> SetWindowLong(Handle, GWL_STYLE,<br> GetWindowLong(Handle, GWL_STYLE) and not WS_CAPTION);<br> ClientHeight := Height;<br>end;<br><br>procedure TForm1.Button2Click(Sender: TObject);<br>begin<br> SetWindowLong(Handle, GWL_STYLE,<br> GetWindowLong(Handle, GWL_STYLE) and WS_CAPTION);<br> application.BringToFront;<br><br>end;