Mega Code Archive

 
Categories / Delphi / Forms
 

How to hide minimized MDI child windows

Title: How to hide minimized MDI child windows 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;