NM_RCLICK (list view) notification code
Sent by a list-view control when the user clicks an item with the right mouse button. This notification code is sent in the form of a WM_NOTIFY message.
NM_RCLICK
lpnmitem = (LPNMITEMACTIVATE) lParam;
Parameters
-
lParam
-
Version 4.71. Pointer to an NMITEMACTIVATE structure that contains additional information about this notification. The iItem, iSubItem, and ptAction members of this structure contain information about the item.
Return value
Return nonzero to not allow the default processing, or zero to allow the default processing.
Remarks
The iItem member of lParam is only valid if the icon or first-column label has been clicked. To determine which item is selected when a click takes place elsewhere in a row, send an LVM_SUBITEMHITTEST message.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|