Share via


CListCtrl::GetItemCount

Retrieves the number of items in a list view control.

int GetItemCount( ) const;

Return Value

The number of items in the list view control.

Example

See the example for CListCtrl::DeleteItem.

Requirements

Header: afxcmn.h

See Also

Reference

CListCtrl Class

Hierarchy Chart

CListCtrl::SetItemCount

CListCtrl::GetSelectedCount

Other Resources

CListCtrl Members