Skip to content

Latest commit

 

History

History
78 lines (44 loc) · 1.74 KB

wm-menurbuttonup.md

File metadata and controls

78 lines (44 loc) · 1.74 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
WM_MENURBUTTONUP message (Winuser.h)
Sent when the user releases the right mouse button while the cursor is on a menu item.
e061cba0-6aea-4df4-a39a-7e55f0db45c0
WM_MENURBUTTONUP message Menus and Other Resources
apiref
WM_MENURBUTTONUP
Winuser.h
HeaderDef
reference
05/31/2018

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

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

Menus Overview