This topic has not yet been rated - Rate this topic

Event Identifiers

This topic describes the named constants used to identify Microsoft UI Automation events.

Constant/valueDescription
UIA_AsyncContentLoadedEventId
20006

Identifies the event that is raised when asynchronous content is being loaded. This event is used mainly by providers to indicate that asynchronous content-loading events have occurred.

UIA_AutomationFocusChangedEventId
20005

Identifies the event that is raised when the focus has changed from one element to another.

UIA_AutomationPropertyChangedEventId
20004

Identifies the event that is raised when the value of a property has changed.

UIA_Drag_DragStartEventId
20026

Identifies the event that is raised when the user starts to drag an element. This event is raised by the element being dragged.

UIA_Drag_DragCancelEventId
20027

Identifies the event that is raised when the user ends a drag operation before dropping an element on a drop target. This event is raised by the element being dragged.

UIA_Drag_DragCompleteEventId
20028

Identifies the event that is raised when the user drops an element on a drop target. This event is raised by the element being dragged.

UIA_DropTarget_DragEnterEventId
20029

Identifies the event that is raised when the user drags an element into a drop target's boundary. This event is raised by the drop target element.

UIA_DropTarget_DragLeaveEventId
20030

Identifies the event that is raised when the user drags an element out of a drop target's boundary. This event is raised by the drop target element.

UIA_DropTarget_DroppedEventId
20031

Identifies the event that is raised when the user drops an element on a drop target. This event is raised by the drop target element.

UIA_HostedFragmentRootsInvalidatedEventId
20015

Identifies the event that is raised when a change is made to the root node of a UI Automation fragment that is hosted in another element.

UIA_InputDiscardedEventId
20022

Identifies the event that is raised when the specified input was discarded or otherwise failed to reach any element.

UIA_InputReachedOtherElementEventId
20021

Identifies the event that is raised when the specified input reached an element other than the element for which the StartListening method was called.

UIA_InputReachedTargetEventId
20020

Identifies the event that is raised when the specified mouse or keyboard input reaches the element for which the StartListening method was called.

UIA_Invoke_InvokedEventId
20009

Identifies the event that is raised when a control is invoked or activated.

UIA_LayoutInvalidatedEventId
20008

Identifies the event that is raised when the layout of child items within a control has changed.

UIA_LiveRegionChangedEventId
20025

Identifies the event that is raised when the content of a live region has changed.

UIA_MenuClosedEventId
20007

Identifies the event that is raised when a menu is closed.

UIA_MenuModeEndEventId
20019

Identifies the event that is raised when a menu mode is ended.

UIA_MenuModeStartEventId
20018

Identifies the event that is raised when a menu mode is started.

UIA_MenuOpenedEventId
20003

Identifies the event that is raised when a menu is opened.

UIA_Selection_InvalidatedEventId
20013

Identifies the event that is raised when a selection in a container has changed significantly.

UIA_SelectionItem_ElementAddedToSelectionEventId
20010

Identifies the event raised when an item is added to a collection of selected items.

UIA_SelectionItem_ElementRemovedFromSelectionEventId
20011

Identifies the event raised when an item is removed from a collection of selected items.

UIA_SelectionItem_ElementSelectedEventId
20012

Identifies the event that is raised when a call to the Select, AddToSelection, or RemoveFromSelection method results in a single item being selected.

UIA_StructureChangedEventId
20002

Identifies the event that is raised when the UI Automation tree structure is changed.

UIA_SystemAlertEventId
20024

Identifies the event that is raised when a provider issues a system alert.

UIA_Text_TextChangedEventId
20015

Identifies the event that is raised whenever textual content is modified.

UIA_Text_TextSelectionChangedEventId
20014

Identifies the event that is raised when the text selection is modified.

UIA_ToolTipClosedEventId
20001

Identifies the event that is raised when a tooltip is closed.

UIA_ToolTipOpenedEventId
20000

Identifies the event that is raised when a tooltip is opened.

UIA_Window_WindowClosedEventId
20017

Identifies the event that is raised when a window is closed.

UIA_Window_WindowOpenedEventId
20016

Identifies the event that is raised when a window is opened.

Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

UIAutomationClient.h

See also

UI Automation Events Overview

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.