Important: The information in this document is obsolete and should not be used for new development.
Color-Changed Function
When using thePickColor
function, your application can set thecolorProc
field of the color picker parameter block to point to a function, described in detail in "MyColorChangedFunction" (page 2-58), that updates colors in a document as the user selects them. This function is defined by the Color Picker Manager as follows:
typedef pascal void (*ColorChangedProc)(long userData, PMColorPtr newColor);