![]() |
Theme Track Press State Constants |
Header: Appearance.h |
enum { kThemeLeftOutsideArrowPressed = 1, kThemeLeftInsideArrowPressed = 2, kThemeLeftTrackPressed = 4, kThemeThumbPressed = 8, kThemeRightTrackPressed = 16, kThemeRightInsideArrowPressed = 32, kThemeRightOutsideArrowPressed = 64, kThemeTopOutsideArrowPressed = 1, kThemeTopInsideArrowPressed = 2, kThemeTopTrackPressed = 4, kThemeBottomTrackPressed = 16, kThemeBottomInsideArrowPressed = 32, kThemeBottomOutsideArrowPressed = 64 };
For a horizontal scroll bar containing a single pair of arrows, with one arrow at each end, indicates that the arrow on the left is selected.For a horizontal scroll bar containing a single pair of arrows, with both arrows on the right, this constant is undefined and should not be used.
For a horizontal scroll bar containing a single pair of arrows, with one arrow at each end, this constant is undefined and should not be used.
For a horizontal scroll bar containing a single pair of arrows, with both arrows on the right, this constant is undefined and should not be used.
For a horizontal scroll bar or slider, indicates that the end of the track to the left of the scroll box or indicator is selected.
Indicates that the scroll box or indicator is selected.
For a horizontal scroll bar or slider, indicates that the end of the track to the right of the scroll box or indicator is selected.
For a horizontal scroll bar containing a single pair of arrows, with one arrow at each end, this constant is undefined and should not be used.
For a horizontal scroll bar containing a single pair of arrows, with both arrows on the right, indicates that the inner arrow at the right end of the scroll bar is selected.
For a horizontal scroll bar containing a single pair of arrows, with one arrow at each end, indicates that the arrow on the right is selected.
For a horizontal scroll bar containing a single pair of arrows, with both arrows on the right, indicates that the outer arrow at the right end of the scroll bar is selected.
For a vertical scroll bar containing a single pair of arrows, with one arrow at each end, indicates that the arrow on the top is selected.For a vertical scroll bar containing a single pair of arrows, with both arrows on the bottom, this constant is undefined and should not be used.
For a vertical scroll bar containing a single pair of arrows, with one arrow at each end, this constant is undefined and should not be used.For a vertical scroll bar containing a single pair of arrows, with both arrows on the bottom, this constant is undefined and should not be used.
For a vertical scroll bar or slider, indicates that the end of the track above the scroll box or indicator is selected.
For a vertical scroll bar or slider, indicates that the end of the track beneath the scroll box or indicator is selected.
For a vertical scroll bar containing a single pair of arrows, with one arrow at each end, this constant is undefined and should not be used.For a vertical scroll bar containing a single pair of arrows, with both arrows on the bottom, indicates that the inner arrow at the bottom end of the scroll bar is selected.
For a vertical scroll bar containing a single pair of arrows, with one arrow at each end, indicates that the arrow on the bottom is selected.For a vertical scroll bar containing a single pair of arrows, with both arrows on the bottom, indicates that the outer arrow at the bottom end of the scroll bar is selected.
You can use constants of type ThemeTrackPressState in structures of type SliderTrackInfo
to identify what is pressed in an active scroll bar or slider; the press state is ignored if the control is not active. The ThemeTrackPressState constants are available with Appearance Manager 1.1 and later.
Note that some constants are undefined when the corresponding arrows do not exist in the current visual appearance. Prior to using the ThemeTrackPressState constants, your application should call the function
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)