CHeaderCtrl::GetItem

BOOL GetItem( int nPos, HDITEM* pHeaderItem ) const;

Return Value

Nonzero if successful; otherwise 0.

Parameters

nPos

Specifies the zero-based index of the item to retrieve.

pHeaderItem

Pointer to an HDITEM structure that receives the new item. This structure is used with the InsertItem and SetItem member functions. Any flags set in the mask element ensure that values in the corresponding elements are properly filled in upon return. If the mask element is set to zero, values in the other structure elements are meaningless.

Remarks

Retrieves information about a header control item.

CHeaderCtrl OverviewClass MembersHierarchy Chart

See Also   CHeaderCtrl::SetItem