BCGControlBar Pro for MFC
BOOL CBCGPDrawManager::DrawGradientRing ( CRect  rect,
COLORREF  colorStart,
COLORREF  colorFinish,
COLORREF  colorBorder,
int  nAngle,
int  nWidth,
COLORREF  clrFace = (COLORREF)-1 
)

Fills a ring with gradient color.

Returns
Nonzero if the ring was drawn successfully; otherwise 0.

Call this function to display a ring filled by the gradient color. The width and height of the specified rectangle must be greater than 4 pixels.

Parameters
rectSpecifies a rectangular area to fill.
colorStartSpecifies the color to start.
colorFinishSpecifies the color to finish.
colorBorderSpecifies the border color.
nAngleSpecifies the angle to start from. This value should be within 0-360 interval.
nWidthSpecifies the width of the rings' border.
clrFaceSpecifies the color of the rings' interior.