Share via


CMDIFrameWnd::MDITile

Arranges all child windows in a tiled format.

void MDITile( ); 
void MDITile( 
   int nType  
);

Parameters

  • nType
    Specifies a tiling flag. This parameter can be any one of the following flags:

    • MDITILE_HORIZONTAL   Tiles MDI child windows so that one window appears above another.

    • MDITILE_SKIPDISABLED   Prevents disabled MDI child windows from being tiled.

    • MDITILE_VERTICAL   Tiles MDI child windows so that one window appears beside another.

Remarks

The first version of MDITile, without parameters, tiles the windows vertically under Windows versions 3.1 and later. The second version tiles windows vertically or horizontally, depending on the value of the nType parameter.

Example

See the example for CMDIFrameWnd::MDICascade.

Requirements

Header: afxwin.h

See Also

Reference

CMDIFrameWnd Class

Hierarchy Chart

CMDIFrameWnd::MDICascade

CMDIFrameWnd::MDIIconArrange

WM_MDITILE