2 out of 6 rated this helpful - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.