SECEditCtrl::Initialize
BOOLSECEditCtrl::Initialize(UINTnID, CWnd*pParentWnd, DWORDdwExStyle= WS_EX_CLIENTEDGE)
This function should be called in the OnInitDialog handler for the dialog in which you want to place the SECEditCtrl.
Defined in: SECEditCtrl.cpp
Return Value
Returns non-zero if successful; otherwise 0.
Parameters
nID
The ID of the control to replace.
pParentWnd
The parent window of SECEditCtrl.
Developer Notes
Note that this function destroys the window and replaces it, rather than just subclassing it. If you are replacing an Edit Control, you may use class wizard to map EN_SETFOCUS and EN_KILLFOCUS, and these notifications will be sent.dwExStyle
Extended style of the window.
See Also