BCGSuite for MFC
CBCGPImage::CBCGPImage ( UINT  uiResID = 0,
LPCTSTR  lpszType = NULL,
BOOL  bScaleByDPI = FALSE 
)

Constructor. Creates an image from the specified resource.

Parameters
uiResIDImage resource identifier.
lpszTypeThe resource type.
bScaleByDPISpecifies whether image should be automatically scaled according to current DPI.