Contents Index Topic Contents | ||
Previous Topic: ListView_HitTest Next Topic: ListView_InsertItem |
ListView_InsertColumn
int ListView_InsertColumn( HWND hwnd, int iCol, const LPLVCOLUMN pcol );Inserts a new column in a list view control. You can use this macro or send the LVM_INSERTCOLUMN message explicitly.
- Returns the index of the new column if successful, or -1 otherwise.
- hwnd
- Handle to the list view control.
- iCol
- Index of the new column.
- pcol
- Address of an LVCOLUMN structure that contains the attributes of the new column.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.