Edit Menu Operations
If the user chooses an Edit command (or its keyboard equivalent) that applies to a color picker, your application can use the DoPickerEdit function (page 2-45) to request the color picker to perform the operation. In the EditData structure passed to DoPickerEdit, your application uses the EditOperations enumeration to specify the operation to perform.
enum EditOperations {
kCut, /* perform the Cut command */
kCopy, /* perform the Copy command */
kPaste, /* perform the Paste command */
kClear, /* perform the Clear command */
kUndo /* perform the Undo command */
};
typedef short EditOperation;