BCGControlBar Pro for MFC
virtual COLORREF CBCGPVisualManager::OnFillCommandsListBackground ( CDC *  pDC,
CRect  rect,
BOOL  bIsSelected = FALSE 
)
virtual

Called by the framework when a toolbar button should be redrawn within the command list on the customization dialog.

This function is called by the framework when it redraws a toolbar button (or derived object) within the command list on the customization dialog (see CBCGPToolbarButton::OnDrawOnCustomizeList). The function should fill the list background according to the currently selected skin to display the button itself correctly.

You should override this function in a CBCGPVisualManager - derived class if you do override the OnFillButtonInterior() function.

Parameters
pDCA pointer to a device context.
rectSpecifies the bounding rectangle.
bIsSelectedSpecifies whether the button has the selected state.