![]() |
ControlTabInfoRec |
Header: ControlDefinitions.h |
struct ControlTabInfoRec { SInt16 version; SInt16 iconSuiteID; Str255 name; };
The version of the tab information structure. The only currently available version value is 0.
The ID of an icon suite to use for the tab label. If the specified ID is not found, no icon is displayed for the tab label. Pass 0 for no icon.
The title to be used for the tab label.
You can use the ControlTabInfoRec type to specify the icon and title for a tab control. If you are not creating a tab control with a 'tab#' resource, you can call SetControlMaximum to set the number of tabs in a tab control. Then use the functions SetControlData and GetControlData with the ControlTabInfoRec structure to access information for an individual tab in a tab control.
The ControlTabInfoRec type is available with Appearance Manager 1.0.1 and later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)