Event Filter Function
When using thePickColorfunction (page 2-35), your application should set theeventProcfield of the color picker parameter block (page 2-20) to point to an event filter function (page 2-57) that handles events meant for your application. This function is defined by the Color Picker Manager as follows:
typedef pascal Boolean (*UserEventProc)(EventRecord *event);