Windows Dev Center

LVN_COLUMNCLICK notification code

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; 

Parameters

lParam

Pointer to an NMLISTVIEW structure. The iItem member is -1, and the iSubItem member identifies the column. All other members are zero.

Return value

No return value.

Remarks

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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft