Header Control (MSAA UI Element Reference)
This topic describes Header Control objects for purposes of MSAA UI Element Reference. How to create Header Control objects in various UI frameworks is not described here. See the API reference documentation for the UI framework you're using.
A header control displays headings at the top of columns of information and lets the user sort the information by clicking the headings. Windows Explorer uses a header control when the Details view is selected.
The window class name for a header control is WC_HEADER, which is defined as "SysHeader32" in Commctrl.h.
A header control supports the following IAccessible methods:
|accDoDefaultAction||This method performs the default action by clicking the header.|
A header control supports the following IAccessible properties:
|get_accChildCount||The ChildCount property is zero.|
|get_accDefaultAction||The DefaultAction property is "Click".|
|get_accName||The Name property is the same as the name of the column header.|
|get_accParent||The Parent property is a window ( ROLE_SYSTEM_LIST ) that surrounds the control and has the same window class name as the control.|
|get_accRole||The Role property is ROLE_SYSTEM_COLUMNHEADER.|
|get_accState||The value for the State property is always STATE_SYSTEM_READONLY and can also include STATE_SYSTEM_INVISIBLE.|