Windows provides three utility messages that you can use to arrange MDI child windows:
WM_MDICASCADE |
Arranges in order all the child windows that are not minimized, diagonally from upper-left to lower-right. (This message also arranges child window icons.) |
WM_MDIICONARRANGE |
Arranges all child window icons along the bottom of the MDI client window. |
WM_MDITILE |
Arranges all child windows that are not minimized so that they are tiled within the MDI client window. (This message also arranges child window icons.) |