This topic has not yet been rated - Rate this topic

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.

PropertyDescription

CanMaximize

Indicates whether the window can be maximized.

CanMinimize

Indicates whether the window can be minimized.

IsModal

Indicates whether the window is modal.

IsTopmost

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

WindowInteractionState

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

WindowVisualState

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

 

 

Send comments about this topic to Microsoft

Build date: 5/16/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.