IUIAutomationEventHandlerGroup interface

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.

 

Methods

The IUIAutomationEventHandlerGroup interface has these methods.

Method Description
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

   
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