Freigeben über


CHeaderCtrl::GetItemCount

Retrieves a count of the items in a header control.

int GetItemCount( ) const;

Return Value

Number of header control items if successful; otherwise – 1.

Example

See the example for CHeaderCtrl::DeleteItem.

Requirements

Header: afxcmn.h

See Also

Concepts

CHeaderCtrl Class

CHeaderCtrl Members

Hierarchy Chart

CHeaderCtrl::GetItem

CHeaderCtrl::SetItem