BCGControlBar Pro for MFC
virtual void CBCGPListCtrl::OnDrawCustomIcon ( CDC *  pDC,
int  nItem,
const CRect &  rectIcon 
)
inlinevirtual

Called by the framework when it needs to draw a custom list control icon.

Parameters
pDCA pointer to a device context.
nItemThe item's zero-based index.
rectIconSpecifies the bounding rectangle of the icon.

You should override IsCustomIcon method and return TRUE if you wish to make a specific list control icon the owner-draw.