![]() |
kDidNothing |
Header: ColorPickerComponents.h |
enum { kDidNothing = 0, kColorChanged = 1, kOkHit = 2, kCancelHit = 3, kNewPickerChosen = 4, kApplItemHit = 5 };
The user performed no action worth reporting.
The user chose a different color. Your application may need to call the GetPickerColor function to obtain the chosen color; how your application handles this action for its own application-owned dialog boxes depends on your application. For dialog boxes owned by the system or the color picker, your application should probably wait until the user clicks the OK button before treating the color as final.
The user clicked the OK button in a dialog box owned by the system or the color picker. Your application should save the newly chosen color.
The user clicked the Cancel button in a dialog box owned by the system or the color picker. Your application should restore the previously selected color and use the DisposeColorPicker to dispose of the color picker.
The user chose a new color picker from the More Choices list in a system-owned dialog box. Because this constant is returned only for system-owned dialog boxes, your application generally does not to respond to this action.
The Dialog Manager returned an item number for an item in an application-owned dialog box. Your application must handle the event.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)