This message inserts a new column in a list view control. You can send this message explicitly or by using the ListView_InsertColumn macro.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 1.0 and later |
Related macro: | ListView_InsertColumn |
Syntax
LVM_INSERTCOLUMN wParam = (WPARAM)(int) iCol;
lParam = (LPARAM)(const LV_COLUMN FAR *) pcol;
Parameters
iCol
Index of the new column
pcol
Pointer to an LVCOLUMN structure that contains the attributes of the new column
Return Values
The index of the new column indicates success. –1 indicates failure.
See Also