SECCalculator::Create

BOOLSECCalculator::Create(DWORDdwStyle, intx, inty, CWnd*pParentWnd, UINTnID, CCreateContext*pContext)

Creates a window for the calculator and attaches it to the SECCalculator object.

Defined in: SecCalc.cpp

Return Value

Nonzero if the window is successfully created; otherwise 0.

Parameters

dwStyle

DWORD dwStyle Specifies the calculator 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.

x

int x The x-coordinate of the calculator window in the parent window.

y

int y The y-coordinate of the calculator window in the parent window.

pParentWnd

CWnd* pParentWnd The parent window.

nID

UINT nID The ID of the child window.

pContext

CCreateContext* pContext The create context of the calculator window.

See Also

SECCalculator