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