This documentation is archived and is not being maintained.

CListCtrl::Update 

Forces the list view control to repaint the item specified by nItem.


BOOL Update(
   int nItem 
);

Parameters

nItem

Index of the item to be updated.

Nonzero if successful; otherwise zero.

This function also arranges the list view control if it has the LVS_AUTOARRANGE style.

See the example for CListCtrl::GetSelectedCount.

Show: