Important: The information in this document is obsolete and should not be used for new development.
CreatePickerDialog
Creates a color picker-owned dialog box.
pascal OSErr CreatePickerDialog ( PickerDialogInfo *info, picker *thePicker);
info- A pointer to a
PickerDialogInfostructure (page 2-24).thePicker- A pointer to the last color picker chosen by the user. Your application often refers to the color picker returned here in subsequent Color Picker Manager functions.
DISCUSSION
TheCreatePickerDialogfunction creates a color picker-owned color picker dialog box of the type requested in theinfoparameter and places inside it the color picker returned in the parameterthePicker.If the color picker does not have a private dialog box, the Color Picker Manager creates a modeless dialog box by default. The dialog box is invisible upon creation; use the
SetPickerVisibilityfunction (page 2-40) to make it visible. The Color Picker Manager may change some of the flags in thePickerDialogInfostructure (such as those regarding the type of dialog box for the color picker).SEE ALSO
Listing 2-6 (page 2-15) in Advanced Color Imaging on the Mac OS illustrates how to use theCreatePickerDialogfunction.