一:
1、设置ComboBox控件的属性:Has Strings = True, Owner Draw = variable或fixed,Tyle = Drop List。
2、建立一个类:CMyComboBox,派生自:CComboBox,绑定关于CMyComboBox类的控件变量,并声明一个CImageList对象:
// 构造
public:
CImageList m_imgList; //声明CImageList对象
CMyComboBox m_ComboBox;//绑定控件变量
//......
说明: