The main feature of extended combo box controls is the ability to associate images from an image list with individual items in a combo box control. Each item is able to display three different images: one for its selected state, one for its nonselected state, and a third for an overlay image.
The following procedure associates an image list with an extended combo box control:
To associate an image list with an extended combo box control
m_pImageList->Create(16, 16, ILC_COLOR, 2, 2);
m_pImageList->Add(pApp->m_hIconSelected);
m_pImageList->Add(pApp->m_hIconNotSelected);
m_pImageList->Add(pApp->m_hIconOverlay);
Once the image list has been associated with the control, you can individually specify the images each item will use for the three possible states. For more information, see Setting the Images for an Individual Item.