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 /
Color Picker Manager Functions / Creating a Custom Color Picker Dialog Box


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
The SetPickerPrompt function sets the dialog box for the color picker specified in the parameter thePicker to display the prompt supplied in the promptString 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 the SetPickerPrompt function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996