SECCurrencyEdit::Initialize

BOOL SECCurrencyEdit::Initialize(CWnd*pwndParent, UINTuiControlID, BOOL bInitFloatExponentMode, double dInitValue = 0.00)

Initializes the control.

Defined in: curredit.cpp

Return Value

Nonzero if the control can replace the specified edit control.

Parameters

pwndParent

The parent window of the edit control.

uiControlID

The ID of the edit control.

bInitFloatExponentMode

Boolean parameter that intializes the floating or exponential mode in the control. By default, its value is FALSE.

If set to TRUE, the control is bound to a double value and has two modes of data entry—Numerical mode and Exponential mode. Press SPACEBAR to toggle between these two modes. In this mode, the other functionalities in SECCurrencyEdit are deactivated and it is only used for data entry in double and exponential format.

dInitValue

Indicates the double value used to initialize the control at startup. By default, value is 0.000000e+00.

See Also

SECCurrencyEdit