BOOL SetItem( int nPos, HDITEM* pHeaderItem );
Return Value
Nonzero if successful; otherwise 0.
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.
Remarks
Sets the attributes of the specified item in a header control.
Example
See the example for CHeaderCtrl::GetItem.