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.

Parameters
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.
Returns
TRUE if it succeeds, FALSE if it fails.
Parameters
bDisable3DColorsMappingWhen this parameter is FALSE, the system 3D colors are not mapped to the active visual theme colors.