Partager via


Window

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, 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.

Supported Properties and Methods

  • accHitTest
    accLocation
    accNavigate
    accSelect
    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

Events Generated

EVENT_SYSTEM_FOREGROUND

EVENT_SYSTEM_CAPTURESTART

EVENT_SYSTEM_CAPTUREEND

EVENT_SYSTEM_MOVESIZESTART

EVENT_SYSTEM_MOVESIZEEND

EVENT_SYSTEM_DRAGDROPSTART

EVENT_SYSTEM_DRAGDROPEND

EVENT_SYSTEM_MINIMIZESTART

EVENT_SYSTEM_MINIMIZEEND

EVENT_OBJECT_CREATE

EVENT_OBJECT_DESTROY

EVENT_OBJECT_SHOW

EVENT_OBJECT_HIDE

EVENT_OBJECT_REORDER

EVENT_OBJECT_FOCUS

EVENT_OBJECT_SELECTION

EVENT_OBJECT_STATECHANGE

EVENT_OBJECT_LOCATIONCHANGE

EVENT_OBJECT_NAMECHANGE

EVENT_OBJECT_PARENTCHANGE

Remarks

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.

See Also

IAccessible Interface