Important: The information in this document is obsolete and should not be used for new development.
Picker Icon Structure
A color picker responds to thekGetIconData
request code by returning its script code and the resource ID of its icon family. The Color Picker Manager needs this information to display the color picker in the More Choices list. The color picker returns this information in a picker icon data (PickerIconData
) structure.
typedef struct PickerIconData { short scriptCode; /* script code */ short iconSuiteID; /* resource ID for icon family */ ResType helpResType; /* resource type for help balloon */ short helpResID; /* resource ID for help balloon */ } PickerIconData;For more information about how a color picker should respond to the
Field Description
scriptCode
- The script code for the text used for the color picker's name. See Inside Macintosh: Text for more information about script codes.
iconSuiteID
- The resource ID for the color picker's icon family. See the chapter "Finder Interface" in Inside Macintosh: Macintosh Toolbox Essentials for information about icon families.
helpResType
- The resource type for the help balloon used for the color picker's icon. See the chapter "Help Manager" in Inside Macintosh: More Macintosh Toolbox for information about help balloons.
helpResID
- The resource ID for the help balloon used for the color picker's icon.
kGetIconData
request code, see MyGetIconData (page 2-67).