Carbon


Theme Menu State Constants

Header: Appearance.h

enum {
    kThemeMenuActive = 0,
    kThemeMenuSelected = 1,
    kThemeMenuInactive = 3
};

Constant descriptions

kThemeMenuActive

Menu is drawn in its active state.

kThemeMenuSelected

Menu is drawn in its selected state.

kThemeMenuInactive

Menu is drawn in its inactive, disabled state.

You can pass constants of type ThemeMenuState in the inState parameter of DrawThemeMenuItem and DrawThemeMenuTitle to specify the state in which theme-compliant menus are drawn. The ThemeMenuState constants are available with Appearance Manager 1.0.1 and later.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)