BCGControlBar Pro for MFC
virtual COLORREF CBCGPVisualManager::OnFillListBoxItem ( CDC *  pDC,
CBCGPListBox pListBox,
int  nItem,
CRect  rect,
BOOL  bIsHighlighted,
BOOL  bIsSelected 
)
virtual

Called by the framework to fill background of owner draw list box items.

Override this method in a derived class to customize appearance of owner-draw list box items.

Parameters
pDCA pointer to a device context.
pListBoxA pointer to owner draw list box.
nItemItem index.
rectBounding rectangle.
bIsHighlightedIf TRUE, the item is highlighted.
bIsSelectedIf TRUE the item is selected.