BCGControlBar Pro for MFC
BOOL CBCGPStatic::SetPicture ( const CString &  strImagePath,
BOOL  bDPIAutoScale = TRUE,
BOOL  bAutoResize = FALSE,
BOOL  bDisable3DColorsMapping = FALSE 

Sets a picture loaded from external file.

strImagePathFull pathname of the image file.
bDPIAutoScaleSpecifies whether the image should be scaled according to current DPI.
bAutoResizeSpecifies whether control should be automatically resized to the picture size.
TRUE if it succeeds, FALSE if it fails.
bDisable3DColorsMappingWhen this parameter is FALSE, the system 3D colors are not mapped to the active visual theme colors.