共用方式為


CMFCMaskedEdit::EnableSetMaskedCharsOnly

Specifies whether the text is validated against only the masked characters, or against the whole mask.

void EnableSetMaskedCharsOnly(
   BOOL bEnable=TRUE 
);

Parameters

  • [in] bEnable
    TRUE to validate the user input against only masked characters; FALSE to validate against the whole mask. The default value is TRUE.

Requirements

Header: afxmaskededit.h

See Also

Reference

CMFCMaskedEdit Class

Hierarchy Chart