BCGControlBar Pro for MFC
CBCGPCalculator::CBCGPCalculator ( double  dblValue,
UINT  nID,
CBCGPRibbonComboBox pParentRibbonEdit 
)

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.
pParentRibbonEditA pointer to parent ribbon edit control with calculator browse button.