UI Automation Support for Standard Controls
This topic contains information about Microsoft UI Automation support for standard controls in applications developed for Microsoft Win32.
Most Win32 controls are exposed to UI Automation through client-side providers. Full support is provided only for controls from version 6 of ComCtrl32.dll (available with Windows XP and later).
The supported controls are listed in the following table, which includes class names and control types.
Class Name | Control Type |
---|---|
Button | Button |
Button | RadioButton |
Button | Group |
Button | CheckBox |
Button | Hyperlink |
Button | SplitButton |
Button | CheckBox |
ComboBoxEx32 | ComboBox |
ComboBox | ComboBox |
Edit | Document |
Edit | Edit |
SysLink | Hyperlink |
Static | Text |
Static | Image |
SysIPAddress32 | Custom |
SysHeader32 | Header/HeaderItem |
SysListView32 | DataGrid |
SysListView32 | List |
ListBox | List |
ListBox | ListItem |
#32768 | Menu |
#32768 | MenuItem |
msctls_progress32 | ProgressBar |
RichEdit | Document. See note. |
RichEdit20A | Document |
RichEdit20W | Document |
RichEdit50W | Document |
ScrollBar | Slider |
msctls_trackbar32 | Slider |
msctls_updown32 | Spinner |
msctls_statusbar32 | StatusBar |
SysTabControl32 | Tab |
SysTabControl32 | TabItem |
ToolbarWindow32 | ToolBar |
ToolbarWindow32 | MenuItem |
ToolbarWindow32 | Button |
ToolbarWindow32 | CheckBox |
ToolbarWindow32 | RadioButton |
ToolbarWindow32 | Separator |
tooltips_class32 | ToolTip |
#32774 | ToolTip |
ReBarWindow32 | Toolbar |
SysTreeView32 | Tree |
SysTreeView32 | TreeItem |
Note The RichEdit control is supported only for versions shipped with Windows Vista (in RichEd20.dll version 3.1 and later, and MsftEdit.dll version 4.1 and later).
The controls listed in the following table are not supported.
Class Name | Control Type |
---|---|
SysAnimate32 | Image |
SysPager | Spinner |
SysDateTimePick32 | Custom |
SysMonthCal32 | Calendar |
MS_WINNOTE | Tooltip |
VBBubble | Tooltip |
ScrollBar (when used as a standalone control) | Slider |
SuperGrid | Custom |