SECPopupCalculator::Create
BOOLSECPopupCalculator::Create(DWORDdwStyle, const RECT&ctrlRect, CWnd*pParentWnd, CCreateContext*pContext)
Creates a popup window for the calculator and attaches it to the SECPopupCalculator object.
Defined in: SecCalc.cpp
Return Value
BOOL Nonzero if the popup window is successfully created; otherwise 0.
Parameters
dwStyle
Specifies the calculator popup window style attributes
SEC_CS_RAISEDEDGE
Same look as WS_EX_WINDOWEDGE except compatible with Win 3.x.
SEC_CS_DIVIDER
Divider at top of calculator.
SEC_PCS_DESTROY_ON_EQUALS
Popup calculator destroyed everytime equals is pressed.
ctrlRect
References the RECT structure of the calculator edit control.
pParentWnd
The parent window.
pContext
The create context of the calculator popup window.
See Also