![]() |
Part Identifier Constants |
Header: Controls.h |
enum { cFrameColor = 0, cBodyColor = 1, cTextColor = 2, cThumbColor = 3, kNumberCtlCTabEntries = 4 };
Produces foreground color for scroll arrows and gray area.
Produces color of the scroll box.
Produces text color for scroll bars. Currently unused.
Reserved.
The part identifier constants are not recommended with the Appearance Manager. When the Appearance Manager is available and you are using standard controls, part identifier constants are ignored and the colors are determined by the current theme. If you are creating your own control definition function, you can still use these constants in the partIdentifier field of a control color table structure to draw a control using colors other than the system default and to identify the part of a control that a color affects.
When the Appearance Manager is not present, you can use these constants in the partIdentifier field of a control color table resource 'cctb' and the partIdentifier field of a control color table structure to identify the part of the control that the color affects.
Note that the colors you specifiy in the color table are blended to produce the colors that are actually used.
© 2000 Apple Computer, Inc. (Last Updated 5/8/2000)