Important: The information in this document is obsolete and should not be used for new development.
Item Hit Modifiers
A color picker must respond to user events directed at any of its items. As described for the color picker-defined functionMyItemHit
(page 2-77), a color picker should respond to the event represented by theItemHitModifiers
enumeration.
enum ItemHitModifiers { kMouseDown, /* mouse down on item */ kKeyDown, /* key down in current edit item */ kFieldEntered, /* tab into an edit field */ kFieldLeft, /* tab out of an edit field */ kCutOp, /* cut in current edit field */ kCopyOp, /* copy in current edit field */ kPasteOp, /* paste in current edit field */ kClearOp, /* clear in current edit field */ kUndoOp /* undo in current edit field */ };