Carbon


Item Hit Modifiers

Header: ColorPickerComponents.h

enum {
    kMouseDown = 0,
    kKeyDown = 1,
    kFieldEntered = 2,
    kFieldLeft = 3,
    kCutOp = 4,
    kCopyOp = 5,
    kPasteOp = 6,
    kClearOp = 7,
    kUndoOp = 8
};

Constant descriptions

kMouseDown

Represents a mouse down on the item.

kKeyDown

Represents a key down in the current edit item.

kFieldEntered

Represents a tab into an edit field.

kFieldLeft

Represents a tab out of an edit field.

kCutOp

Represents a cut operation in the current edit field.

kCopyOp

Represents a copy operation in the current edit field.

kPasteOp

Represents a paste operation in the current edit field.

kClearOp

Represents a clear operation in the current edit field.

kUndoOp

Represents an undo operation in the current edit field.

A color picker must respond to user events directed at any of its items. As described for the color picker–defined function PickerItemHitProcPtr, a color picker should respond to the event represented by the ItemHitModifiers enumeration.


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