Progress Bar Control (MSAA UI Element Reference)

Note  This topic describes Progress Bar Control objects for purposes of MSAA UI Element Reference. How to create Progress Bar Control objects in various UI frameworks is not described here. See the API reference documentation for the UI framework you're using.

Progress bar controls indicate the progress of a lengthy operation such as downloading a file from the Internet. Usually the progress is expressed as a percentage from zero (0) to one hundred (100).

The window class name for a progress bar control is PROGRESS_CLASS, which is defined as "msctls_progress" in Commctrl.h.

IAccessible Methods

Progress bar controls support the following IAccessible methods:

IAccessible Properties

Progress bar controls support the following IAccessible properties:

get_accChildCount The ChildCount property is zero.
get_accKeyboardShortcut The KeyboardShortcut property is the progress bar's access key, which is an underlined character in the text of the label for the progress bar. The returned string contains the access key character appended to the string "Alt+".
get_accName The Name property is the text from a static text control that labels the progress bar.
get_accParent The Parent property is a window ( ROLE_SYSTEM_WINDOW ) that surrounds the control and has the same Name property and window class name as the control.
get_accRole The Role property is ROLE_SYSTEM_PROGRESSBAR.
get_accState The State property is a combination of one or more of the following values:


get_accValue The Value property is a string from "0%" to "100%" that describes the progress.


Related topics

IAccessible Interface