CHeaderCtrl::SetItem
Sets the attributes of the specified item in a header control.
BOOL SetItem(
int nPos,
HDITEM* pHeaderItem
);
Parameters
nPos
The zero-based index of the item to be manipulated.pHeaderItem
Pointer to an HDITEM structure that contains information about the new item.
Return Value
Nonzero if successful; otherwise 0.
Example
See the example for CHeaderCtrl::GetItem.
Requirements
Header: afxcmn.h