OwnerDrawItem event example for C++ Builder
void __fastcall TForm1::LEADImgList1OwnerDrawItemEvent(int nIndex, HDC h_DC,
int ItemLeft, int ItemTop, int ItemRight, int ItemBottom,
int ItemBackLeft, int ItemBackTop, int ItemBackRight,
int ItemBackBottom)
{
//use Windows GDI to custom paint the items
AnsiString szText;
szText = LEADImgList1->Item[nIndex]->Text;
Ellipse((HDC)h_DC, ItemLeft, ItemTop, ItemRight, ItemBottom);
TextOut((HDC)h_DC, ItemLeft, ItemTop, szText.c_str(), strlen( szText.c_str()));
}