BCGSuite for MFC
CBCGPImage::CBCGPImage ( HICON  hIcon,
CSize  sizeIcon = CSize(16, 16),
BOOL  bIsAlpha = FALSE,
BOOL  bAutoDestroy = FALSE 
)

Constructor. Creates an image from specified icon.

Parameters
hIconThe icon.
sizeIconThe icon size.
bIsAlphaSpecifies whteher the icon has an alpha channel.
bAutoDestroySpecifies whether the icon resources should be destroyed automatically.