Carbon


PickerInitData

Header: ColorPickerComponents.h

struct PickerInitData {
    DialogRef pickerDialog; 
    DialogRef choicesDialog; 
    SInt32 flags; 
    Picker yourself;
};

Field descriptions

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 “Picker Flags” may be set.

yourself

Your color picker.

A color picker responds to the kInitPicker request code by initializing any private data it needs.


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