Share via


IUIAutomationWindowPattern Interface

Exposes methods and properties that provide fundamental window-based functionality within a traditional graphical user interface (GUI).

IUIAutomationWindowPattern Members

CachedCanMaximize Retrieves a cached value that specifies whether the window can be maximized.
CachedCanMinimize Retrieves a cached value that specifies whether the window can be minimized.
CachedIsModal Retrieves a cached value that specifies whether the window is modal.
CachedIsTopmost Retrieves a cached value that specifies whether the window is the topmost element in the z-order.
CachedWindowInteractionState Retrieves a cached value that specifies the state of the window in relation to user interaction.
CachedWindowVisualState Retrieves the visual state of the window; that is, whether it is in the normal, maximized, or minimized state.
Close Closes the window.
CurrentCanMaximize Retrieves a value that specifies whether the window can be maximized.
CurrentCanMinimize Retrieves a value that specifies whether the window can be minimized.
CurrentIsModal Retrieves a value that specifies whether the window is modal.
CurrentIsTopmost Retrieves a value that specifies whether the window is the topmost element in the z-order.
CurrentWindowInteractionState Retrieves a value that specifies the state of the window in relation to user interaction.
CurrentWindowVisualState Retrieves the visual state of the window; that is, whether it is in the normal, maximized, or minimized state.
SetWindowVisualState Minimizes, maximizes, or restores the window.
WaitForInputIdle Causes the calling code to block for the specified time or until the associated process enters an idle state, whichever completes first.

Remarks

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

Interface Information

Inherits from IUnknown
Header and IDL files uiautomation.h, uiautomationclient.idl
Minimum operating systems Windows 7