BCGSuite for MFC
void CBCGPDurationCtrl::SetBackgroundColor ( COLORREF  color,
BOOL  bRedraw = TRUE 
)

Sets a new background color.

Use this function to set a new background color and redraw the control if necessary.

Parameters
colorSpecifies the new background color.
bRedrawIf TRUE, the control will be redrawn immediately.