![]() |
PickerMenuState |
Header: ColorPickerComponents.h |
struct PickerMenuState { Boolean cutEnabled; Boolean copyEnabled; Boolean pasteEnabled; Boolean clearEnabled; Boolean undoEnabled; SInt8 filler; Str255 undoString; };
If the value returned in this field is true, then the Cut menu item is enabled; otherwise the item is disabled.
If the value returned in this field is true, then the Copy menu item is enabled; otherwise the item is disabled.
If the value returned in this field is true, then the Paste menu item is enabled; otherwise the item is disabled.
If the value returned in this field is true, then the Clear menu item is enabled; otherwise the item is disabled.
If the value returned in this field is true, then the Undo menu item is enabled; otherwise the item is disabled.
The text for the Undo menu item.
If your application is handling its own menus, and the color picker dialog box is the active window, your application needs to determine the color pickers specifications for the Edit menu. The PickerGetEditMenuState function returns these specifications in a MenuState structure.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)