![]() |
Event Forcasters |
Header: ColorPickerComponents.h |
enum { kNoForcast = 0, kMenuChoice = 1, kDialogAccept = 2, kDialogCancel = 3, kLeaveFocus = 4, kNormalKeyDown = 6, kNormalMouseDown = 7 };
No forecast (e.g., an update event).
Warns that this event causes a menu to be chosen.
Warns that the dialog box will be accepted.
Warns that the dialog box will be canceled.
Warns that the focus will leave the color picker.
Warns of a normal key down to an edit field.
Warns of a normal click in the color picker's focus.
Your application can send event forecasters to warn the color picker about potential user actions. To send event forecasters to the color picker, you use the same function as for regular eventsPickerEventexcept that in the EventData structure that your application passes to DoPickerEvent, your application sets the event field to NULL and the forcast field to an appropriate constant from this enumeration.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)