BCGControlBar Pro for MFC
BOOL CBCGPStatic::SetPicture ( UINT  nResID,
BOOL  bDPIAutoScale = TRUE,
BOOL  bAutoResize = FALSE,
HINSTANCE  hResInstance = NULL,
BOOL  bDisable3DColorsMapping = FALSE 

Sets a picture.

nResIDIdentifier for the image resource. The resource can be either BMP, PNG or SVG
bDPIAutoScaleSpecifies whether the image should be scaled according to current DPI.
bAutoResizeSpecifies whether control should be automatically resized to the picture size.
hResInstanceThe resource instance.
bDisable3DColorsMappingWhen this parameter is FALSE, the system 3D colors are not mapped to the active visual theme colors.
TRUE if it succeeds, FALSE if it fails.