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