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 /
Application-Defined Functions


Handling Application-Directed Events in a Color Picker

Applications can generally allow the Color Picker Manager to handle all events that might occur while displaying the standard dialog box. Update events are exceptions to this, however.

The PickColor function calls the Dialog Manager function DialogSelect. As described in the chapter "Dialog Manager" in Inside Macintosh: Macintosh Toolbox Essentials, DialogSelect does not allow background windows to receive update events; therefore, at a minimum, your event filter function should handle update events. If your application needs to filter or preprocess other events before DialogSelect handles them, your application should do so in its event filter function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996