BCGSuite for MFC
CBCGPImage::CBCGPImage ( HBITMAP  hBmp,
BOOL  bIsIgnoreAlpha = FALSE,
BOOL  bAutoDestroy = FALSE 
)

Constructor. Creates an image from specified bitmap

Parameters
hBmpHandle of the bitmap.
bIsIgnoreAlphaSpecifies whether to draw image with alpha or not.
bAutoDestroySpecifies whether the bitmap resources should be destroyed automatically.