BCGControlBar Pro for MFC
HBITMAP CBCGPBaseVisualObject::ExportToBitmap ( CBCGPGraphicsManager pGM,
const CBCGPBrush brFill = CBCGPBrush(CBCGPColor::White) 
)

Exports the visual object to bitmap.

Parameters
pGMThe graphics manager.
brFillThe fill brush (a default value is white).
Returns
The bitmap handle.