Carbon


PickerDialogInfo

Header: ColorPickerComponents.h

struct PickerDialogInfo {
    SInt32 flags; 
    SInt32 pickerType; 
    Point *dialogOrigin; 
    PickerMenuItemInfo mInfo;
};

Field descriptions

flags

Bits representing the color picker flags, which are described in detail in “Picker Flags”. Your application can set any of the following flags: CanModifyPalette, CanAnimatePalette, AppIsColorSyncAware. The color picker may set any of the following flags and override your application settings: InSystemDialog, InApplicationDialog, InPickerDialog, DetachedFromChoices.

pickerType

The component subtype of the color picker. If this field is set to 0, the default color picker is used (that is, the last color picker chosen by the user).

dialogOrigin

A pointer to the coordinates of the upper-left corner of the dialog box.

mInfo

Information, stored in a PickerMenuItemInfo structure, about the state of your application’s Edit menu.

The PickerDialogInfo structure contains the data required to create a color picker–owned color picker dialog box.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)