BCGControlBar Pro for MFC
virtual BOOL CBCGPMaskEdit::IsMaskedChar ( TCHAR  chChar,
TCHAR  chMaskChar 
) const
protectedvirtual

Called by the framework to validate a new character against the corresponding mask char.

Returns
TRUE if chChar is a valid character.

This function is called by the framework to validate the new character against the corresponding mask char. You can override it in a derived class for the custom processing.

The default implementation uses hard coded check against library-defined characters (see EnableMask() for the character table).

Parameters
chCharThe character to be validated.
chMaskCharThe corresponding character from the mask string