Edit Menu Operations
If the user chooses an Edit command (or its keyboard equivalent) that applies to a color picker, your application can use theDoPickerEditfunction (page 2-45) to request the color picker to perform the operation. In theEditDatastructure passed toDoPickerEdit, your application uses theEditOperationsenumeration 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;
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help