Muokkaa

Jaa


NM_RCLICK (toolbar) notification code

Sent by a toolbar control when the user clicks the toolbar with the right mouse button. This notification code is sent in the form of a WM_NOTIFY message.

NM_RCLICK

    lpnmmouse = (LPNMMOUSE) lParam;

Parameters

lParam

Pointer to an NMMOUSE structure that contains information about this notification code. If the mouse was clicked on a toolbar item, the dwItemSpec member contains the item identifier and the dwItemData member contains the item data. If the mouse was clicked on a separator or white space in the toolbar, the dwItemSpec member will contain -1.

Return value

Returns FALSE to allow the toolbar control to perform default processing of the event, or TRUE to prevent the control from processing the event.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h