Share via


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.

Return Value

Nonzero if successful; otherwise zero.

Remarks

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

Example

See the example for CListCtrl::GetSelectedCount.

Requirements

Header: afxcmn.h

See Also

Reference

CListCtrl Class

Hierarchy Chart

CListCtrl::DrawItem