Important: The information in this document is obsolete and should not be used for new development.
SetPickerPrompt
Sets the prompt for a custom dialog box for a color picker.
pascal OSErr SetPickerPrompt ( picker thePicker, Str255 promptString);
thePicker
- A color picker.
promptString
- A text string prompting the user to choose a color for a particular use (for example, "Choose a highlight color:").
DISCUSSION
TheSetPickerPrompt
function sets the dialog box for the color picker specified in the parameterthePicker
to display the prompt supplied in thepromptString
parameter.To set the prompt for a standard, modal dialog box, use the
prompt
field of the color picker parameter block (page 2-20).SEE ALSO
Listing 2-4 (page 2-12) in Advanced Color Imaging on the Mac OS illustrates how to use theSetPickerPrompt
function.