首页  编辑  

保证窗体总是图标化的窗体

Tags: /超级猛料/VCL/Form,窗体/   Date Created:

PROCEDURE WMQueryOpen(VAR Msg : TWMQueryOpen); message WM_QUERYOPEN;

In the implementation section, put this method:

PROCEDURE TForm1.WMQueryOpen(VAR Msg : TWMQueryOpen);

begin

 Msg.Result := 0;

end;

{This code came from Lloyd's help file!}