Skip to content

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

Python
1.4 KB
Raw Blame

ITextRangeProvider2

Original Documentation

ITextRangeProvider2 interface (uiautomationcore.h)

Extends the ITextRangeProvider interface to enable Microsoft UI Automation providers to invoke context menus.

Inheritance

The ITextRangeProvider2 interface inherits from ITextRangeProvider. ITextRangeProvider2 also has these types of members:

Methods

The ITextRangeProvider2 interface has these methods.

ITextRangeProvider2::ShowContextMenu Programmatically invokes a context menu on the target element. (ITextRangeProvider2.ShowContextMenu)

Requirements

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

See also

Conceptual

ITextRangeProvider

UI Automation Providers Overview