Important: The information in this document is obsolete and should not be used for new development.
Picker-Owned Dialog Box Structure
ThePickerDialogInfo
structure contains the data required to create a color picker-owned color picker dialog box.
typedef struct PickerDialogInfo { long flags; /* color picker flags */ long pickerType; /* color picker type */ Point *dialogOrigin;/* upper-left corner of dialog box */ MenuItemInfomInfo; /* application's Edit menu items */ } PickerDialogInfo;
Field Description
flags
- Bits representing the color picker flags (page 2-8). Your application can set any of the following flags:
#define CanModifyPalette 4 #define CanAnimatePalette 8 #define AppIsColorSyncAware 16
- The color picker may set any of the following flags and override your application settings:
#define InSystemDialog 32 #define InApplicationDialog 64 #define InPickerDialog 128 #define DetachedFromChoices 256
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
MenuItemInfo
structure (page 2-19), about the state of your application's Edit menu.