Contents Index Topic Contents | ||
Previous Topic: NM_KEYDOWN (toolbar) Next Topic: NM_RDBLCLK (toolbar) |
NM_RCLICK (toolbar)
NM_RCLICK lpnmmouse = (LPNMMOUSE) lParam;Sent by a toolbar control when the user clicks on the toolbar with the right mouse button. This notification message is sent in the form of a WM_NOTIFY message.
- Returns FALSE to allow the toolbar control to perform default processing of the event, or TRUE to prevent the control from processing the event.
- lpnmmouse
- Address of an NMMOUSE structure that contains information about this notification. 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.
This notification is identical to the standard NM_RCLICK notification except that the toolbar supplies an NMMOUSE structure instead of an NMHDR structure for the lParam.
Version 4.71. Prior versions send a standard NM_RCLICK message.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.