Tab Control (MSAA UI Element Reference)
Note This topic describes Tab Control objects for purposes of MSAA UI Element Reference. How to create Tab Control objects in various UI frameworks is not described here. See the API reference documentation for the UI framework you're using.
A tab control defines multiple pages for the same area of a window or dialog box. Each page consists of a set of information or a group of controls that an application displays when the user selects the corresponding tab. The Windows operating system uses tab controls to display the taskbar buttons, with the exception of the Start button.
The window class name for a tab control is WC_TABCONTROL, which is defined as "SysTabControl" in Commctrl.h.
A tab control supports the following IAccessible methods:
|accDoDefaultAction||The accDoDefaultAction method clicks the page tab.|
A tab control supports the following IAccessible properties:
|get_accDefaultAction||The DefaultAction property is "Switch".|
|get_accKeyboardShortcut||The KeyboardShortcut property is the tab control's access key, which is an underlined character in the control's window text. This string contains the access key character appended to the string "Alt+".|
|get_accName||The Name property is obtained from the control's window text (or caption), which is displayed within the tab control.|
|get_accParent||The Parent property is a window ( ROLE_SYSTEM_PAGETABLIST ) that surrounds the control and has the same window class name as the control.|
|get_accRole||The Role property is ROLE_SYSTEM_PAGETAB.|
|get_accState||The State property is a combination of one or more of the following values:|