Muokkaa

Jaa


WM_NEXTMENU message

Sent to an application when the right or left arrow key is used to switch between the menu bar and the system menu.

#define WM_NEXTMENU                     0x0213

Parameters

wParam

The virtual-key code of the key. See Virtual-Key Codes.

lParam

A pointer to a MDINEXTMENU structure that contains information about the menu to be activated.

Remarks

In responding to this message, the application can specify the menu to switch to in the hmenuNext member of MDINEXTMENU and the window to receive the menu notification messages in the hwndNext member of the MDINEXTMENU structure. You must set both members for the changes to take effect (they are initially NULL).

Requirements

Requirement Value
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

MDINEXTMENU

Conceptual

Menus