Carbon


Edit Operation Constants

Header: ColorPickerComponents.h

enum {
    kCut = 0,
    kCopy = 1,
    kPaste = 2,
    kClear = 3,
    kUndo = 4
};

Constant descriptions

kCut

Specify to perform the Cut command.

kCopy

Specify to perform the Copy command.

kPaste

Specify to perform the Paste command.

kClear

Specify to perform the Clear command.

kUndo

Specify to perform the Undo command.

If the user chooses an Edit command (or its keyboard equivalent) that applies to a color picker, your application can use the PickerEdit function 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.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)