C++
virtual void EditName( CPoint & ptLoc );
Description
The base class implementation of this function displays an in-place edit box at the location specified by ptLoc if the palette has the PS_EDIT_NAME style set on it. Override it to provide a different user interface for renaming a palette.
EditName() is called by the default palette set implementation when the user selects Rename from the shortcut menu of a tab representing a palette that has the PS_EDIT_NAME style set.
Parameters
Parameters | Description |
---|---|
ptLoc | Screen coordinates of this palette's tab |