Hide minimized MDI child windows

Submitted by:Pitter Alderson

Date added:12 April, 2012

Category:Delphi

Delphi code example for Hide minimized MDI child windows

Tags: hide windows

Code Snippet:

type
TfrmMyMDIForm = class(TForm)
public

procedure WMSize(var Msg: TWMSIZE); message WM_SIZE
end;
implementation

procedure TfrmMyMDIForm.WMSize(var Msg: TWMSize);
begin
if Msg.SizeType = SIZE_MINIMIZED then
ShowWindow(Handle, SW_HIDE);
end;
 
 

Comments