Header Control
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.
Supported Properties and Methods
- accDoDefaultAction
- This method performs the default action by clicking the header.
- accHitTest
- accLocation
- accNavigate
- accSelect
- get_accChildCount
- The ChildCount property is zero.
- get_accDefaultAction
- The DefaultAction property is "Click".
- get_accFocus
- 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.
Events Generated
See Also
Community Additions
Show: