This method prepares a list view control for adding a large number of items.
By calling this method before adding a large number of items, you enable a list view control to reallocate its internal data structures only once rather than every time you add an item.
| Header file: | Afxcmn.h |
| Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
| Windows CE versions: | 1.0 and later |
| Complete documentation: | Visual C++ documentation |
void SetItemCount( int nItems );
CListCtrl::GetItemCount, CListCtrl::GetSelectedCount