SECMaskEdit::AttachEdit

BOOLSECMaskEdit::AttachEdit(intnCtlID, CWnd*pParentWnd)

Attaches the SECMaskEdit to an existing CEdit control.

Defined in: SECMEDIT.CPP

Return Value

Nonzero if successful, otherwise 0.

Parameters

nCtlID

The resource ID for the CEdit to attach to.

pParentWnd

The parent of the CEdit, usually a dialog or formview.

Comments

This should be the first operation that you do whenever you use SECMaskEdit. Calling any member function before doing the AttachEdit() will result in an assertion.

See Also

SECMaskEdit  SetMask