Export (0) Print
Expand All

WM_INITMENUPOPUP message

Sent when a drop-down menu or submenu is about to become active. This allows an application to modify the menu before it is displayed, without changing the entire menu.


#define WM_INITMENUPOPUP                0x0117

Parameters

wParam

A handle to the drop-down menu or submenu.

lParam

The low-order word specifies the zero-based relative position of the menu item that opens the drop-down menu or submenu.

The high-order word indicates whether the drop-down menu is the window menu. If the menu is the window menu, this parameter is TRUE; otherwise, it is FALSE.

Return value

If an application processes this message, it should return zero.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
HIWORD
LOWORD
WM_INITMENU
Conceptual
Keyboard Accelerators

 

 

Community Additions

ADD
Show:
© 2014 Microsoft