State Property

The State property describes an object's status at a moment in time. All objects support the State property.

The State property is retrieved by calling IAccessible::get_accState.

Microsoft Active Accessibility provides object state constants, defined in oleacc.h, that are combined to identify an object's state. It is recommended that server developers use these predefined state values. If predefined state values are returned, clients use GetStateText to retrieve a localized string that describes the state.

Graphics that are occasionally animated should have the State property set to STATE_SYSTEM_ANIMATED and the Role property set to ROLE_SYSTEM_GRAPHIC.