BCGControlBar Pro for MFC
virtual BOOL CBCGPVisualManager::OnDrawCalculatorDisplay ( CDC *  pDC,
CRect  rect,
const CString &  strText,
BOOL  bMem,
CBCGPCalculator pCalculator 
)
virtual

Called by the framework when it needs to draw calculator's display.

Override this function in your own visual manager if you need to customize the appearance of calculator's display. The calculator display is the rectangular area where the result of calculation is displayed. It can also display an indicator of memory (M) function.

Parameters
pDCA pointer to a device context.
rectThe display's bounding rectangle.
strTextThe text to be displayed.
bMemIf TRUE, the memory function is activated.
pCalculatorA pointer to calculator.