用C++Builder写的,不过我觉得有点笨
void __fastcall TForm1::ComboBox1DrawItem(TWinControl *Control, int Index,TRect &Rect, TOwnerDrawState State)
{
TComboBox * ComBox;
ComBox = (TComboBox *)Control;
ImageList1->Draw(ComBox->Canvas,Rect.Left ,Rect.Top ,Index,true);
ComBox->Canvas->TextOutA (Rect.Left+ImageList1->Width,Rect.Top,ComBox->Items->Strings[Index]);
}