windows_programming_notes.nbk: Home | Index | Next Page: win32 msgs: WM_MDIICONARRANGE | Previous Page: win32 msgs: WM_MDIDESTROY


 win32 msgs: WM_MDIGETACTIVE

An application sends the WM_MDIGETACTIVE message to a multiple document interface (MDI) client window to retrieve the handle to the active MDI child window.

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

    SendMessage( 
      (HWND) hWnd,              // handle to destination window 
      WM_MDIGETACTIVE,          // message to send
      (WPARAM) wParam,          // not used; must be zero
      (LPARAM) lParam           // maximized state (LPBOOL)
    );

Parameters

Return Values

The return value is the handle to the active MDI 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_MDIICONARRANGE | Previous Page: win32 msgs: WM_MDIDESTROY


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