Carbon


Theme Tab Style Constants

Header: Appearance.h

enum {
    kThemeTabNonFront = 0,
    kThemeTabNonFrontPressed = 1,
    kThemeTabNonFrontInactive = 2,
    kThemeTabFront = 3,
    kThemeTabFrontInactive = 4,
    kThemeTabNonFrontUnavailable = 5,
    kThemeTabFrontUnavailable = 6
};

Constant descriptions

kThemeTabNonFront

An active tab that is not the frontmost in a tab control.

kThemeTabNonFrontPressed

A tab that is being clicked on by the user which is not the frontmost tab in a tab control.

kThemeTabNonFrontInactive

An inactive tab that is not the frontmost in a tab control. The tab may either be inactive because it has been individually disabled or because the tab control as a whole is currently inactive.

kThemeTabFront

The frontmost tab in an active tab control.

kThemeTabFrontInactive

The frontmost tab in an inactive tab control.

kThemeTabNonFrontUnavailable
kThemeTabFrontUnavailable

You can pass a constant of type ThemeTabStyle to the function DrawThemeTab to draw a theme-compliant tab in a specific state. You can also pass a ThemeTabStyle constant to the function GetThemeTabRegion to obtain the region containing a tab in a specific state. The ThemeTabStyle constants are available with Appearance Manager 1.1 and later.


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