BCGControlBar Pro for MFC
void CBCGPImageGaugeImpl::SetImage ( UINT  uiImageResID,
BOOL  bRedraw = FALSE,
BOOL  bScaleByDPI = FALSE 
)

Sets an image.

Parameters
uiImageResIDimage resource ID. Can be either a bitmap or PNG.
bRedrawTRUE - redraw gauge
bScaleByDPISpecifies whether image should be automatically scaled according to current DPI.