Partager 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

Concepts

CListCtrl Class

CListCtrl Members

Hierarchy Chart

CListCtrl::DrawItem