可以
type
; TForm2 = class(TForm)
; private
; procedure wmsys(var msg:tmessage);message wm_syscommand;
; ; { Private declarations }
; public
; ; { Public declarations }
; end;
var
; Form2: TForm2;
implementation
{$R *.DFM}
procedure TForm2.wmsys(var msg: tmessage);
begin
; hide;
end;