Important: The information in this document is obsolete and should not be used for new development.
Picker Initialization Structure
A color picker responds to thekInitPicker
request code by initializing any private data it needs.
typedef struct PickerInitData { DialogPtrpickerDialog;/* pointer to dialog box */ DialogPtrchoicesDialog;/* pointer to More Choices dialog box */ long flags; /* color picker flags */ picker yourself; /* the color picker */ } PickerInitData;
Field Description
pickerDialog
- A pointer to the dialog box in which the color picker appears.
choicesDialog
- A pointer to the More Choices dialog box.
flags
- An integer in which any of the following flags may be set; see "Picker Flags" (page 2-8) for more information about these flags.
#define DialogIsMoveable1 #define DialogIsModal 2 #define CanModifyPalette4 #define CanAnimatePalette8 #define AppIsColorSyncAware16 #define InSystemDialog 32 #define InApplicationDialog64 #define InPickerDialog 128 #define DetachedFromChoices256
- yourself
- Your color picker.