Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WM_MENURBUTTONUP message

Sent when the user releases the right mouse button while the cursor is on a menu item.


#define WM_MENURBUTTONUP                0x0122

Parameters

wParam

The zero-based index of the menu item on which the right mouse button was released.

lParam

A handle to the menu containing the item.

Remarks

The WM_MENURBUTTONUP message allows applications to provide a context-sensitive menu—also known as a shortcut menu—for the menu item specified in this message. To display a context-sensitive menu for a menu item, call the TrackPopupMenuEx function with TPM_RECURSE.

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

Menus Overview

 

 

Show:
© 2017 Microsoft