IInitializeWithWindow interface

Exposes a method through which a client can provide an owner window to a Windows Runtime object used in a desktop application.

Members

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

Methods

The IInitializeWithWindow interface has these methods.

MethodDescription
Initialize

Specifies an owner window to be used by a Windows Runtime object that is used in a desktop app.

 

Remarks

When to implement

Implement this interface if your object needs to be provided with an owner window, generally to display UI. Most third-party applications will not need to implement this interface.

When to use

Use this interface if you will provide a window to an object. A common scenario in which this interface is used is a Windows Store desktop browser.

This interface is implemented by the following objects. Note that this is necessarily an incomplete list; refer to an individual object's documentation to determine whether that object implements this interface.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft