CBCGPCalculator::CBCGPCalculator | ( | double | dblValue, |
UINT | nID, | ||
CBCGPRibbonComboBox * | pParentRibbonEdit | ||
) |
The constructor.
Constructs a calculator object.
dblValue | Specifies 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). |
nID | Specifies the control ID. |
pParentRibbonEdit | A pointer to parent ribbon edit control with calculator browse button. |