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


Sets the prompt for a custom dialog box for a color picker.

pascal OSErr SetPickerPrompt (
picker thePicker, 
Str255 promptString);
A color picker.
A text string prompting the user to choose a color for a particular use (for example, "Choose a highlight color:").
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).

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