BCGControlBar Pro for MFC
BOOL CBCGPVisualContainer::ExportToImage ( CBCGPGraphicsManager pGM,
CBCGPImage image,
BOOL  bFullImage = FALSE 

Exports the visual container to an image.

pGMThe graphics manager.
imageThe result image.
bFullImageSpecifies whether full container area will be exported. If this parameter is FALSE, only currently visible container area will be exported.
TRUE if it succeeds, FALSE if it fails.