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 |
|
|
|
|
|
reference |
05/31/2018 |
Sent when the user releases the right mouse button while the cursor is on a menu item.
#define WM_MENURBUTTONUP 0x0122
-
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.
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.
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|