Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 2 - Color Picker Manager Reference /
Color Picker Manager Functions / Handling Events in a Custom Color Picker Dialog Box


DoPickerEdit

Asks the color picker to perform an editing operation.

pascal OSErr DoPickerEdit (
picker thePicker, 
EditData *data);
thePicker
The color picker to perform the editing operation.
data
A pointer to an EditData structure (page 2-29) describing the editing operation to perform.
DISCUSSION
The DoPickerEdit function requests the color picker specified in the parameter thePicker to perform the editing operation specified in the EditData structure pointed to in the data parameter.

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 GetPickerEditMenuState function (page 2-48) to determine the state of the Edit menu items before calling DoPickerEdit.

SEE ALSO
Listing 2-10 (page 2-21) in Advanced Color Imaging on the Mac OS illustrates how to use the DoPickerEdit function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996