title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LVN_COLUMNCLICK notification code (Commctrl.h) |
Notifies a list-view control's parent window that a column header was clicked while the list-view control was in report mode. This notification code is sent in the form of a WM\_NOTIFY message. |
a6bfbd6c-4778-47a7-92e9-9140d46d89cc |
|
|
|
|
|
reference |
05/31/2018 |
Notifies a list-view control's parent window that a column header was clicked while the list-view control was in report mode. This notification code is sent in the form of a WM_NOTIFY message.
LVN_COLUMNCLICK
pnmv = (LPNMLISTVIEW) lParam;
-
lParam
-
Pointer to an NMLISTVIEW structure. The iItem member is -1, and the iSubItem member identifies the column. All other members are zero.
No return value.
Using header control formats such as HDF_CHECKBOX to modify the format of column headers in a list-view control causes the control to send the HDN_ITEMSTATEICONCLICK notification code instead of LVN_COLUMNCLICK when a header item is clicked.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|