BCGControlBar Pro for MFC
void CBCGPStatusBar::SetPaneBackgroundColor ( int  nIndex,
COLORREF  clrBackground = (COLORREF)-1,
BOOL  bUpdate = TRUE 
)

Sets indicator's background color for a given index.

Use this function to change background color for the indicator specified by nIndex.

Parameters
nIndexIndex of the pane whose background color is to be set.
clrBackgroundSpecifies the new background color.
bUpdateSpecifies whether to update the pane content immediately.