Window (MSAA UI Element Reference)
Note
This topic describes Window objects for purposes of MSAA UI Element Reference. How to create Window objects in various UI frameworks is not described here. See the API reference documentation for the UI framework you're using.
Microsoft Active Accessibility creates a generic window object as a container for another object. Client developers do not convey the information from window objects to end users because these objects do not contain useful information.
If a server application creates a custom control, Microsoft Active Accessibility creates a window object that contains the custom control, but the server creates an accessible object to provide information about the contents of the control. The system generates object-level events for the window object, but the server must send events for the accessible object that provides information about the control.
The window object supports the following IAccessible methods:
The window object supports the following IAccessible properties:
Property | Comments |
---|---|
get_accChild | Retrieves the IDispatch interface of the specified child. |
get_accChildCount | The ChildCount property is 7. |
get_accDescription | The window object itself does not have a Description property. The Description property for the child object can be retrieved through the window object. |
get_accFocus | |
get_accKeyboardShortcut | The window object itself does not have a KeyboardShortcut property. The KeyboardShortcut property for the child object is retrieved through the window object. |
get_accName | The Name property of the window object is the same as the child object. |
get_accParent | |
get_accRole | The Role property is ROLE_SYSTEM_WINDOW. The Role of the child object is retrieved through the window object. |
get_accState | The State property is a combination of one or more of the following values: STATE_SYSTEM_INVISIBLE | STATE_SYSTEM_UNAVAILABLE | STATE_SYSTEM_SIZEABLE | STATE_SYSTEM_MOVEABLE | STATE_SYSTEM_FOCUSABLE | STATE_SYSTEM_FOCUSED |
The events EVENT_SYSTEM_DRAGDROPSTART, EVENT_SYSTEM_DRAGDROPEND, EVENT_OBJECT_HIDE, and EVENT_OBJECT_PARENTCHANGE are not sent by the window object. This is a known issue and is being addressed.