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.
WM_MDIREFRESHMENU
wParam = 0; // not used; must be zero
lParam = 0; // not used; must be zero
This message has no parameters.
If the message succeeds, the return value is the handle to the frame window menu.
If the message fails, the return value is NULL.
After sending this message, an application must call the DrawMenuBar function to update the menu bar.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winuser.h.
Multiple Document Interface Overview, Multiple Document Interface Messages, DrawMenuBar, WM_MDISETMENU