Important: The information in this document is obsolete and should not be used for new development.
Picker Attributes
In a resource of type'thng'
that defines a color picker component, bits 23 to 0 in thecomponentFlags
field specify attributes for the color picker. These bits can be represented by the following constants:
#define CanDoColor 1 /* the color picker supports Color QuickDraw */ #define CanDoBlackWhite2/* the color picker supports original QuickDraw */ #define AlwaysModifiesPalette 4 /* the color picker will modify palette entries on indexed devices */ #define MayModifyPalette8/* the color picker will modify palette if told it can */ #define PickerIsColorSyncAware 16 /* the color picker is ColorSync aware and can accept non-RGB colors */ #define CanDoSystemDialog32/* the color picker supports a system-owned dialog box */ #define CanDoApplDialog64/* the color picker supports an application-owned dialog box */ #define HasOwnDialog 128/* the color picker has its own dialog box */ #define CanDetach 256/* the color picker can be detached from a system-owned dialog box */