windows_programming_notes.nbk: Home | Index | Next Page: win32 msgs: WM_MDIRESTORE | Previous Page: win32 msgs: WM_MDINEXT


 win32 msgs: WM_MDIREFRESHMENU

An application sends the WM_MDIREFRESHMENU message to a multiple document interface (MDI) client window to refresh the window menu of the MDI frame window.

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

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

Parameters

This message has no parameters.

Return Values

If the message succeeds, the return value is the handle to the frame window menu.

If the message fails, the return value is NULL.

Remarks

After sending this message, an application must call the DrawMenuBar function to update the menu bar.

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_MDIRESTORE | Previous Page: win32 msgs: WM_MDINEXT


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