windows_programming_notes.nbk: Home | Index | Next Page: win32 msgs: WM_MDIREFRESHMENU | Previous Page: win32 msgs: WM_MDIMAXIMIZE


 win32 msgs: WM_MDINEXT

An application sends the WM_MDINEXT message to a multiple document interface (MDI) client window to activate the next or previous child window.

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

    SendMessage( 
      (HWND) hWnd,              // handle to destination window 
      WM_MDINEXT,               // message to send
      (WPARAM) wParam,          // handle to child window (HWND)
      (LPARAM) lParam           // next or previous indicator
    );

Parameters

Return Values

The return value is always zero.

Remarks

If an MDI client window receives any message that changes the activation of its child windows while the active MDI child window is maximized, the system restores the active child window and maximizes the newly activated child window.

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_MDIREFRESHMENU | Previous Page: win32 msgs: WM_MDIMAXIMIZE


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