CListCtrl::SetColumn

BOOL SetColumn( int nCol, const LVCOLUMN* pColumn );

Return Value

Nonzero if successful; otherwise zero.

Parameters

nCol

Index of the column whose attributes are to be set.

pColumn

Address of an LVCOLUMN structure that contains the new column attributes, as described in the Platform SDK. The structure's mask member specifies which column attributes to set. If the mask member specifies the LVCF_TEXT value, the structure's pszText member is the address of a null-terminated string and the structure's cchTextMax member is ignored.

Remarks

Sets the attributes of a list view column.

Example

See the example for CListCtrl::GetColumn.

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CListCtrl::GetColumn