Carbon


PickerMenuItemInfo

Header: ColorPicker.h

struct PickerMenuItemInfo {
    SInt16 editMenuID; 
    SInt16 cutItem; 
    SInt16 copyItem; 
    SInt16 pasteItem; 
    SInt16 clearItem; 
    SInt16 undoItem;
};

Field descriptions

editMenuID

The resource ID of the Edit menu for the color picker.

cutItem

The item number of the Cut command.

copyItem

The item number of the Copy command.

pasteItem

The item number of the Paste command.

clearItem

The item number of the Clear command.

undoItem

The item number of the Undo command.

The MenuItemInfo structure is used in the PickerDialogInfo, ApplicationDialogInfo, and SystemDialogInfo structures; it allows your application to specify your Edit menu for use when a color picker dialog box is displayed.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)