CListCtrl::SetItemText

BOOL SetItemText( int nItem, int nSubItem, LPTSTR lpszText );

Return Value

Nonzero if successful; otherwise zero.

Parameters

nItem

Index of the item whose text is to be set.

nSubItem

Index of the subitem, or zero to set the item label.

lpszText

Pointer to a string that contains the new item text.

Remarks

Changes the text of a list view item or subitem.

Example

See the example for CListCtrl::InsertItem.

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CListCtrl::GetItemText