Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This message is sent by a list view control when the user clicks an item with the left mouse button. It is sent in the form of a WM_NOTIFYmessage.

Syntax

NM_CLICK 
lpnmlv = (LPNMLISTVIEW) 
lParam;

Parameters

lpnmlv

Long pointer to an NMLISTVIEWstructure that contains additional information about this message. The iItem, iSubItem, and ptActionmembers of this structure contain information about the item.

Return Value

The return value for this message is not used.

Remarks

This message is identical to the standard NM_CLICK message except that the list view supplies a NMLISTVIEWstructure instead of an NMHDRstructure for the lParam.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also