IWindowProvider interface

Provides access to the fundamental window-based functionality of a control.

Members

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

Methods

The IWindowProvider interface has these methods.

MethodDescription
Close

Attempts to close the window.

SetVisualState

Changes the visual state of the window. For example, minimizes or maximizes it.

WaitForInputIdle

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

 

Properties

The IWindowProvider interface has these properties.

PropertyAccess typeDescription

CanMaximize

Read-only

Indicates whether the window can be maximized.

CanMinimize

Read-only

Indicates whether the window can be minimized.

IsModal

Read-only

Indicates whether the window is modal.

IsTopmost

Read-only

Indicates whether the window is the topmost element in the z-order.

WindowInteractionState

Read-only

Specifies the current state of the window for the purposes of user interaction.

WindowVisualState

Read-only

Specifies the visual state of the window; that is, whether the window is normal (restored), minimized, or maximized.

 

Remarks

Implemented on a Microsoft UI Automation provider that must support the Window control pattern.

Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

DLL

UIAutomationCore.dll

IID

IID_IWindowProvider is defined as 987df77b-db06-4d77-8f8a-86a9c3bb90b9

See also

UI Automation Providers Overview

 

 

Community Additions

ADD
Show:
© 2014 Microsoft