SECPopupCalculator::CreateEx

BOOLSECPopupCalculator::CreateEx(DWORDdwExStyle, DWORDdwStyle, const RECT&ctrlRect, CWnd*pParentWnd, CCreateContext*pContext)

Creates a popup window with extended styles for the calculator and attaches it to the SECPopupCalculator object.

Defined in: SecCalc.cpp

Return Value

BOOL Nonzero if the window is successfully created; otherwise 0.

Parameters

dwExStyle

Specifies the calculator window’s extended style attributes.

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

SECPopupCalculatorCreateEx