Carbon


Theme Menu Type Constants

Header: Appearance.h

enum {
    kThemeMenuTypePullDown = 0,
    kThemeMenuTypePopUp = 1,
    kThemeMenuTypeHierarchical = 2,
    kThemeMenuTypeInactive = 256
};

Constant descriptions

kThemeMenuTypePullDown

A pull-down menu. Available with Appearance Manager 1.0.1 and later.

kThemeMenuTypePopUp

A pop-up menu. Available with Appearance Manager 1.0.1 and later.

kThemeMenuTypeHierarchical

A hierarchical menu. Available with Appearance Manager 1.0.1 and later.

kThemeMenuTypeInactive

An inactive menu. Add this value to any other menu type if the entire menu is inactive. Available with Appearance Manager 1.1 and later.

You can pass constants of type ThemeMenuType in the inMenuType parameter of GetThemeMenuBackgroundRegion and DrawThemeMenuBackground to specify a type of menu.


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