![]() |
EditData |
Header: ColorPickerComponents.h |
struct EditData { EditOperation theEdit; PickerAction action; Boolean handled; SInt8 filler; };
The editing operation to perform. Your application uses the
The nature of the event. In this field, the Color Picker Manager returns a value, defined in the
True if the Color Picker Manager handled the event; otherwise, your application should process the event.
If the user chooses an Edit menu command for the color picker, your application needs to set the state of the Edit menu items according to the color picker specifications and send the appropriate message to the color picker. Use the PickerGetEditMenuState function to determine the state of the Edit menu items. Then use the PickerEdit function to request the color picker to perform an editing operation. When your application uses the DoPickerEdit function, it passes information about the editing operation in an EditData structure; the color picker then uses this structure to describe whether and how it performed this operation.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)