Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library

Header File
commctrl.h
Unicode
WinNT
Platform Notes
None

ListView_InsertColumn

The ListView_InsertColumn macro inserts a new column in a list view control. You can use this macro or explicitly send the LVM_INSERTCOLUMN message.

int ListView_InsertColumn(

HWND hwnd,

int iCol,

const LV_COLUMN FAR *pcol

);

Parameters

hwnd

Handle to the list view control.

iCol

Index of the new column.

pcol

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

Return Values

Returns the index of the new column if successful or pics/WIN3200090000.gif1 otherwise.

See Also

LVM_INSERTCOLUMN, LV_COLUMN

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples