BCGControlBar Pro for MFC
HBITMAP CBCGPToolBarImages::ExtractBitmap ( int  nIndex,
CSize  sizeBitmapSVG = CSize(0, 0) 
)

Extracts a bitmap from the list of toolbar images.

Returns
A handle to extracted bitmap. It's NULL if nIndex is out of range (e.g. below zero or greater than the number of images in the image list).

Use this function to extract a bitmap located at the specified by nIndex index.

Parameters
nIndexSpecifies the zero-based index in the image list at which located an image to be extracted as bitmap.
sizeBitmapSVGSpecifies the extracted bitmap size (for SVG-based image list only).