Compartilhar via


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

Reference

CHeaderCtrl Class

Hierarchy Chart

CHeaderCtrl::GetItem

CHeaderCtrl::SetItem

Other Resources

CHeaderCtrl Members