NM_CLICK (list view) notification code
Sent by a list-view control when the user clicks an item with the left mouse button. This notification code is sent in the form of a WM_NOTIFY message.
NM_CLICK lpnmitem = (LPNMITEMACTIVATE) 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.
The return value for this notification is not used.
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.
|Minimum supported client
||Windows Vista [desktop apps only]
|Minimum supported server
||Windows Server 2003 [desktop apps only]