Important: The information in this document is obsolete and should not be used for new development.
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 functionDialogSelect
. 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 beforeDialogSelect
handles them, your application should do so in its event filter function.