IUIAutomationEventHandlerGroup interface (uiautomationclient.h)

Exposes methods for adding one or more events to a collection for bulk registration through the CreateEventHandlerGroup and AddEventHandlerGroup methods defined in IUIAutomation6.

Important  Microsoft UI Automation clients should use the handler group methods to register event listeners instead of individual event registration methods defined in the various IUIAutomation namespaces.

 

Inheritance

The IUIAutomationEventHandlerGroup interface inherits from the IUnknown interface.

Methods

The IUIAutomationEventHandlerGroup interface has these methods.

 
IUIAutomationEventHandlerGroup::AddActiveTextPositionChangedEventHandler

Registers a method (in an event handler group) that handles when the active text position changes.
IUIAutomationEventHandlerGroup::AddAutomationEventHandler

Registers a method that handles Microsoft UI Automation events.
IUIAutomationEventHandlerGroup::AddChangesEventHandler

Registers a method that handles change events.
IUIAutomationEventHandlerGroup::AddNotificationEventHandler

Registers a method that handles notification events.
IUIAutomationEventHandlerGroup::AddPropertyChangedEventHandler

Registers a method that handles a property-changed event.
IUIAutomationEventHandlerGroup::AddStructureChangedEventHandler

Registers a method that handles structure-changed events.
IUIAutomationEventHandlerGroup::AddTextEditTextChangedEventHandler

Registers a method that handles programmatic text-edit events.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 [desktop apps only]
Minimum supported server Windows Server, version 1709 [desktop apps only]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)

See also

UI Automation Element Interfaces for Clients