Q QuickSilver Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-05 #2 procedure TForm1.FormActivate(Sender: TObject);<br>begin<br>EnableMenuItem(GetSystemMenu(Handle, FALSE), SC_CLOSE, MF_BYCOMMAND or MF_GRAYED);<br>end;<br>
procedure TForm1.FormActivate(Sender: TObject);<br>begin<br>EnableMenuItem(GetSystemMenu(Handle, FALSE), SC_CLOSE, MF_BYCOMMAND or MF_GRAYED);<br>end;<br>
J jacobran Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-05 #4 procedure TForm1.FormActivate(Sender: TObject);<br>begin<br>EnableMenuItem(GetSystemMenu(Handle, FALSE), SC_CLOSE, MF_BYCOMMAND or MF_GRAYED);<br>end;<br><br>对这个方法不错,很直接也很好用
procedure TForm1.FormActivate(Sender: TObject);<br>begin<br>EnableMenuItem(GetSystemMenu(Handle, FALSE), SC_CLOSE, MF_BYCOMMAND or MF_GRAYED);<br>end;<br><br>对这个方法不错,很直接也很好用
H hongama Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-05 #5 直接设置BorderIcons属性就可以了:biSystemMenu:设置关闭按扭<br> biMiniMize:最小化按扭<br> biMaximize:最大化按扭<br> biHelp:帮助按扭
直接设置BorderIcons属性就可以了:biSystemMenu:设置关闭按扭<br> biMiniMize:最小化按扭<br> biMaximize:最大化按扭<br> biHelp:帮助按扭