Header Items in a Header Control
You have considerable control over the appearance and behavior of the header items that make up a header control (CHeaderCtrl). Each header item can have a string, a bitmapped image, an image from an associated image list, or an application-defined 32-bit value associated with it. The string, bitmap, or image is displayed in the header item.
You can customize the appearance and contents of new items when they are created by making a call CHeaderCtrl::InsertItem or by modifying an existing item, with a call to CHeaderCtrl::GetItem and CHeaderCtrl::SetItem.