Important: The information in this document is obsolete and should not be used for new development.
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
TheDoPickerEdit
function requests the color picker specified in the parameterthePicker
to perform the editing operation specified in theEditData
structure pointed to in thedata
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 callingDoPickerEdit
.SEE ALSO
Listing 2-10 (page 2-21) in Advanced Color Imaging on the Mac OS illustrates how to use theDoPickerEdit
function.