WM_MDITILE

An application sends the WM_MDITILE message to a multiple document interface (MDI) client window to arrange all of its MDI child windows in a tile format.

WM_MDITILE

wParam = (WPARAM) (UINT) fuTile; // tiling flag

lParam = 0; // not used; must be zero

Parameters

fuTile

Specifies a tiling flag. This parameter can be one of the following values:

Value Meaning
MDITILE_HORIZONTAL Tiles MDI child windows so that they are wide rather than tall.
MDITILE_SKIPDISABLED Prevents disabled MDI child windows from being tiled.
MDITILE_VERTICAL Tiles MDI child windows so that they are tall rather than wide.

Return Values

If the message succeeds, the return value is TRUE.

If the message fails, the return value is FALSE.

See Also

WM_MDICASCADE, WM_MDIICONARRANGE