Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library

Header File
commctrl.h
Unicode
WinNT
Platform Notes
None

ListView_SetColumn

The ListView_SetColumn macro sets the attributes of a list view column. You can use this macro or explicitly send the LVM_SETCOLUMN message.

BOOL ListView_SetColumn(

HWND hwnd,

int iCol,

LV_COLUMN FAR *pcol

);

Parameters

hwnd

Handle to the list view control.

iCol

Index of the column.

pcol

Pointer to an LV_COLUMN structure that contains the new column attributes. The mask member specifies which column attributes to set.

If the mask member specifies the LVCF_TEXT value, the pszText member is the pointer to a null-terminated string and the cchTextMax member is ignored.

Return Values

Returns TRUE if successful or FALSE otherwise.

See Also

LV_COLUMN
, LVM_SETCOLUMN

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