BCGControlBar Pro for MFC
void CBCGPToolBarImages::AdaptColors ( COLORREF  clrBase,
COLORREF  clrTone,
double  dOpacity 
)

Replaces encapsulated image list color with specified tone color. All colors with similar hue component (specified by clrBase parameter) will be replaced with adapted colors based on clrTone.

Parameters
clrBaseBase image color (source).
clrToneTone image color (destination).
dOpacitySpecifies destination color opacity (0.0 - 1.0).