MDI child를 숨기기 위해서는 WM_SIZE를 받아야 합니다.
type
TForm1 = class(TForm)
public
procedure WMSize(var M : TWMSIZE); Message WM_Size;
end;
implementation
procedure TForm1.WMSize(var M:TWMSIZE);
begin
if M.SizeType = Size_Minimized then
ShowWindow( Handle, Sw_Hide );
end;
|