void CBCGPMaskEdit::SetValidChars | ( | LPCTSTR | lpszValid = NULL | ) |
Sets a string containing a list of valid characters.
lpszValid | A string interpreted as a set of valid characters. NULL means that all possible characters are valid. |
Use this function to define a list of valid characters. If an entered character is not in this list, masked edit control will not accept it.
For example, if you want to create a masked edit control that accepts only hex numbers, you should do the following: