BCGSuite for MFC
HBITMAP CBCGPVisualContainer::ExportToBitmap ( CBCGPGraphicsManager pGM,
BOOL  bFullImage = FALSE,
const CBCGPBrush brFill = CBCGPBrush(CBCGPColor::White) 

Exports the visual container to bitmap.

pGMThe graphics manager.
bFullImageSpecifies whether full container area will be exported. If this parameter is FALSE, only currently visible container area will be exported.
brFillThe fill brush (a default value is white).
The bitmap handle.