BCGControlBar Pro for MFC
CBCGPBrush::CBCGPBrush ( const CBCGPColor color,
BCGP_GRADIENT_TYPE  gradientType,
double  opacity = 1. 
)

Constructor. Creates a gradient brush.

Parameters
colorThe brush color.
gradientTypeType of the gradient.
opacityThe brush opacity.