windows_programming_notes.nbk: Home | Index | Next Page: win32 msgs: WM_MDICREATE | Previous Page: win32 msgs: WM_MDIACTIVATE


 win32 msgs: WM_MDICASCADE

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

To send this message, call the SendMessage function with the following parameters.

    SendMessage( 
      (HWND) hWnd,              // handle to destination window 
      WM_MDICASCADE,            // message to send
      (WPARAM) wParam,          // cascade option
      (LPARAM) lParam           // not used; must be zero
    );

Parameters

Return Values

If the message succeeds, the return value is TRUE.

If the message fails, the return value is FALSE.

Requirements

  Windows NT/2000 or later: Requires Windows NT 3.1 or later.
  Windows 95/98/Me: Requires Windows 95 or later.
  Header: Declared in Winuser.h; include Windows.h.

windows_programming_notes.nbk: Home | Index | Next Page: win32 msgs: WM_MDICREATE | Previous Page: win32 msgs: WM_MDIACTIVATE


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time