Carbon


Theme Track Enable State Constants

Header: Appearance.h

enum {
    kThemeTrackActive = 0,
    kThemeTrackDisabled = 1,
    kThemeTrackNothingToScroll = 2,
    kThemeTrackInactive = 3
};

Constant descriptions

kThemeTrackActive

A track in the active state.

kThemeTrackDisabled

A track in the disabled state.

kThemeTrackNothingToScroll

For scroll bars, the window containing the track is expanded to a sufficiently large state such that all the content is viewable and there is nothing remaining to scroll.

kThemeTrackInactive

You can use constants of type ThemeTrackEnableState in the ThemeTrackDrawInfo structure and in the functions GetThemeScrollBarTrackRect and HitTestThemeScrollBarArrows to identify the state of track controls. The ThemeTrackEnableState constants are available with Appearance Manager 1.1 and later.


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