Compartilhar via


CMFCMaskedEdit::IsMaskedChar

Called by the framework to validate the specified character against the corresponding mask character.

virtual BOOL IsMaskedChar(
   TCHAR chChar,
   TCHAR chMaskChar 
) const;

Parameters

  • [in] chChar
    The character to be validated.

  • [in] chMaskChar
    The corresponding character from the mask string.

Return Value

TRUE if the chChar parameter is the type of character permitted by the chMaskChar parameter; otherwise, FALSE.

Remarks

Override this method to validate input characters on your own. For more information about mask characters, see the CMFCMaskedEdit::EnableMask method.

Requirements

Header: afxmaskededit.h

See Also

Reference

CMFCMaskedEdit Class

Hierarchy Chart