WM_MDIMAXIMIZE message

An application sends the WM_MDIMAXIMIZE message to a multiple-document interface (MDI) client window to maximize an MDI child window. The system resizes the child window to make its client area fill the client window. The system places the child window's window menu icon in the rightmost position of the frame window's menu bar, and places the child window's restore icon in the leftmost position. The system also appends the title bar text of the child window to that of the frame window.


#define WM_MDIMAXIMIZE                  0x0225

Parameters

wParam

A handle to the MDI child window to be maximized.

lParam

This parameter is not used.

Return value

Type: zero

The return value is always zero.

Remarks

If an MDI client window receives any message that changes the activation of its child windows while the currently active MDI child window is maximized, the system restores the active child window and maximizes the newly activated child window.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
WM_MDIRESTORE
Conceptual
Multiple Document Interface

 

 

Community Additions

ADD
Show:
© 2014 Microsoft