Carbon


Menu Item Icon Type Constants

Header: Menus.h

enum {
    kMenuNoIcon = 0,
    kMenuIconType = 1,
    kMenuShrinkIconType = 2,
    kMenuSmallIconType = 3,
    kMenuColorIconType = 4,
    kMenuIconSuiteType = 5,
    kMenuIconRefType = 6
};

Constant descriptions

kMenuNoIcon

No icon.

kMenuIconType

Identifies an icon of type 'ICON'.

kMenuShrinkIconType

Identifies a 32-by-32-pixel icon of type 'ICON', shrunk (at display time) to 16-by-16.

kMenuSmallIconType

Identifies an icon of type 'SICN'.

kMenuColorIconType

Identifies an icon of type 'cicn'.

kMenuIconSuiteType

Identifies an icon suite.

kMenuIconRefType

Identifies an icon of type IconRef. This value is supported under Mac OS 8.5 and later.

These constants specify the type of an icon attached to a menu item. They are passed in SetMenuItemIconHandle and obtained by GetMenuItemIconHandle. Menu item icon type constants are available with Appearance Manager 1.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)