IUIAutomationWindowPattern interface (uiautomationclient.h)

Provides access to the fundamental functionality of a window.

Inheritance

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

Methods

The IUIAutomationWindowPattern interface has these methods.

 
IUIAutomationWindowPattern::Close

Closes the window.
IUIAutomationWindowPattern::get_CachedCanMaximize

Retrieves a cached value that indicates whether the window can be maximized.
IUIAutomationWindowPattern::get_CachedCanMinimize

Retrieves a cached value that indicates whether the window can be minimized.
IUIAutomationWindowPattern::get_CachedIsModal

Retrieves a cached value that indicates whether the window is modal.
IUIAutomationWindowPattern::get_CachedIsTopmost

Retrieves a cached value that indicates whether the window is the topmost element in the z-order.
IUIAutomationWindowPattern::get_CachedWindowInteractionState

Retrieves a cached value that indicates the current state of the window for the purposes of user interaction.
IUIAutomationWindowPattern::get_CachedWindowVisualState

Retrieves a cached value that indicates the visual state of the window; that is, whether it is in the normal, maximized, or minimized state.
IUIAutomationWindowPattern::get_CurrentCanMaximize

Indicates whether the window can be maximized. (IUIAutomationWindowPattern.get_CurrentCanMaximize)
IUIAutomationWindowPattern::get_CurrentCanMinimize

Indicates whether the window can be minimized. (IUIAutomationWindowPattern.get_CurrentCanMinimize)
IUIAutomationWindowPattern::get_CurrentIsModal

Indicates whether the window is modal. (IUIAutomationWindowPattern.get_CurrentIsModal)
IUIAutomationWindowPattern::get_CurrentIsTopmost

Indicates whether the window is the topmost element in the z-order. (IUIAutomationWindowPattern.get_CurrentIsTopmost)
IUIAutomationWindowPattern::get_CurrentWindowInteractionState

Retrieves the current state of the window for the purposes of user interaction.
IUIAutomationWindowPattern::get_CurrentWindowVisualState

Retrieves the visual state of the window; that is, whether it is in the normal, maximized, or minimized state.
IUIAutomationWindowPattern::SetWindowVisualState

Minimizes, maximizes, or restores the window.
IUIAutomationWindowPattern::WaitForInputIdle

Causes the calling code to block for the specified time or until the associated process enters an idle state, whichever completes first. (IUIAutomationWindowPattern.WaitForInputIdle)

Remarks

Examples of controls that support this control pattern include top-level application windows, multiple-document interface (MDI) child windows, and modal dialog boxes.

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