Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 2 - Color Picker Manager Reference /
Constants and Data Types


Item Hit Modifiers

A color picker must respond to user events directed at any of its items. As described for the color picker-defined function MyItemHit (page 2-77), a color picker should respond to the event represented by the ItemHitModifiers 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 */
};

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996