diff --git a/progmgr/group.c b/progmgr/group.c index 326ed3d..922732d 100644 --- a/progmgr/group.c +++ b/progmgr/group.c @@ -235,6 +235,9 @@ LRESULT CALLBACK GroupWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa break; } + case WM_CLOSE: + return ShowWindow(hWnd, SW_MINIMIZE); + default: return DefMDIChildProc(hWnd, message, wParam, lParam); }