LVM_INSERTCOLUMN message

Inserts a new column in a list-view control. You can send this message explicitly or by using the ListView_InsertColumn macro.

Parameters

wParam

Index of the new column.

lParam

Pointer to an LVCOLUMN structure that contains the attributes of the new column.

Return value

Returns the index of the new column if successful, or -1 otherwise.

Remarks

Columns are visible only in report (details) view.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h