CListCtrl::SetItemCount

void SetItemCount( int iCount );

Parameters

nItems

Number of items that the control will ultimately contain.

Remarks

This member function implements the behavior of the Win32 macro, ListView_SetItemCount, as described in the Platform SDK.

To set the item count for a virtual list view control, see CListCtrl::SetItemCountEx.

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CListCtrl::GetItemCount, CListCtrl::GetSelectedCount