WM_MDITILE message

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.

#define WM_MDITILE                      0x0226

Parameters

wParam

The tiling option. This parameter can be one of the following values, optionally combined with MDITILE_SKIPDISABLED to prevent disabled MDI child windows from being tiled.

Value Meaning
MDITILE_HORIZONTAL
0x0001
Tiles windows horizontally.
MDITILE_VERTICAL
0x0000
Tiles windows vertically.

 

lParam

This parameter is not used.

Return value

Type: BOOL

If the message succeeds, the return value is TRUE.

If the message fails, the return value is FALSE.

Requirements

Requirement Value
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_MDICASCADE

WM_MDIICONARRANGE

Conceptual

Multiple Document Interface