Carbon


PickerIconData

Header: ColorPickerComponents.h

struct PickerIconData {
    SInt16 scriptCode; 
    SInt16 iconSuiteID; 
    ResType helpResType; 
    SInt16 helpResID;
};

Field descriptions

scriptCode

The script code for the text used for the color picker’s name.

iconSuiteID

The resource ID for the color picker’s icon family.

helpResType

The resource type for the help balloon used for the color picker’s icon.

helpResID

The resource ID for the help balloon used for the color picker’s icon.

A color picker responds to the kGetIconData 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 PickerIconData structure. See PickerGetIconDataProcPtr for more information about how a color picker should respond to the kGetIconData request code.


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