BCGSuite for MFC
BOOL CBCGPStatic::SetPicture ( const CString &  strImagePath,
BOOL  bDPIAutoScale = TRUE,
BOOL  bAutoResize = FALSE,
BOOL  bDisable3DColorsMapping = FALSE,
BOOL  bPictureCircularShape = 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.
bDisable3DColorsMappingWhen this parameter is FALSE, the system 3D colors are not mapped to the active visual theme colors.
bPictureCircularShapeSpecifies whether the image will have the circular shape.
Returns
TRUE if it succeeds, FALSE if it fails.