Skip to content

An AI Agent that interacts with Windows OS at GUI level.

Python
2.0 KB
Raw Blame

ISelectionProvider

Original Documentation

ISelectionProvider interface (uiautomationcore.h)

Provides access to controls that act as containers for a collection of individual, selectable child items. The children of this control must implement ISelectionItemProvider.

Inheritance

The ISelectionProvider interface inherits from the IUnknown interface. ISelectionProvider also has these types of members:

Methods

The ISelectionProvider interface has these methods.

ISelectionProvider::get_CanSelectMultiple Indicates whether the Microsoft UI Automation provider allows more than one child element to be selected concurrently.
ISelectionProvider::get_IsSelectionRequired Indicates whether the Microsoft UI Automation provider requires at least one child element to be selected.
ISelectionProvider::GetSelection Retrieves a Microsoft UI Automation provider for each child element that is selected.

Remarks

This interface is implemented by a UI Automation provider.

Providers should raise an event of type UIA_Selection_InvalidatedEventId when a selection in a container has changed significantly.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps
Minimum supported server Windows Server 2003 [desktop apps
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

UI Automation Providers Overview