F
fatBaby
Unregistered / Unconfirmed
GUEST, unregistred user!
我需要一个没有标题,但能Resize尺寸的窗体,于是我这样:<br><br>void __fastcall TFmLanPad::CreateParams(Controls::TCreateParams &Params)<br>{<br> TForm::CreateParams(Params);<br> //去掉窗口标题区<br> Params.Style &= ~WS_CAPTION;<br> Params.Style |= WS_POPUP;<br><br> Params.WndParent = GetDesktopWindow();<br>}<br>// --------------------------------------------------------------------------------------------------------<br><br>结果边框太粗了,暴难看。怎么让边框极细?但仍能Resize ??