C++
virtual BOOL NameEditValidation( CEdit* pEdit );
Description
Returns true if the name contained in pEdit is valid; returns false if it is invalid.
The base class palette-set-rename implementation calls this function to let the derived palette set class do its own palette-set name validation. pEdit is used to obtain the edited name candidate and can also be used to output problems in the edit box string for invalid names. The implementation should return true to approve the new name and false to reject it.
Parameters
Parameters | Description |
---|---|
pEdit | Pointer to the CEdit control in which a palette set rename operation is in progress |