BCGControlBar Pro for MFC
CBCGPCalculator::CBCGPCalculator ( double  dblValue,
UINT  nID,
CBCGPEdit pParentEdit 
)

The constructor.

Constructs a calculator object.

Parameters
dblValueSpecifies the initial value. Allows the calculator to be used in conjunction with another control (for example, the user types a value in an edit control, clicks the calculator button and the value from the edit control will be used as an initial calculator value).
nIDSpecifies the control ID.
pParentEditA pointer to parent edit control with calculator browse button.