Skip to content

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

Python
2.8 KB
Raw Blame

IUIAutomationSelectionPattern

Original Documentation

IUIAutomationSelectionPattern interface (uiautomationclient.h)

Provides access to a control that contains selectable child items. The children of this element support IUIAutomationSelectionItemPattern.

Inheritance

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

Methods

The IUIAutomationSelectionPattern interface has these methods.

IUIAutomationSelectionPattern::get_CachedCanSelectMultiple Retrieves a cached value that indicates whether more than one item in the container can be selected at one time.
IUIAutomationSelectionPattern::get_CachedIsSelectionRequired Retrieves a cached value that indicates whether at least one item must be selected at all times.
IUIAutomationSelectionPattern::get_CurrentCanSelectMultiple Indicates whether more than one item in the container can be selected at one time.
IUIAutomationSelectionPattern::get_CurrentIsSelectionRequired Indicates whether at least one item must be selected at all times.
IUIAutomationSelectionPattern::GetCachedSelection Retrieves the cached selected elements in the container.
IUIAutomationSelectionPattern::GetCurrentSelection Retrieves the selected elements in the container.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, Windows XP with SP3 and Platform Update for Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008, Windows Server 2003 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)

See also

Control Pattern Interfaces for Clients