Export (0) Print
Expand All

IAxWinHostWindow Interface

This interface provides methods for manipulating a control and its host object.

Important note Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

interface IAxWinHostWindow : IUnknown

AttachControl

Attaches an existing control to the host object.

CreateControl

Creates a control and attaches it to the host object.

CreateControlEx

Creates a control, attaches it to the host object, and optionally sets up an event handler.

QueryControl

Returns an interface pointer to the hosted control.

SetExternalDispatch

Sets the external IDispatch interface.

SetExternalUIHandler

Sets the external IDocHostUIHandlerDispatch interface.

This interface is exposed by ATL's ActiveX control hosting objects. Call the methods on this interface to create and/or attach a control to the host object, to get an interface from a hosted control, or to set the external dispinterface or UI handler for use when hosting the Web browser.

The definition of this interface is available as IDL or C++, as shown below.

Definition type

File

IDL

ATLIFace.idl

C++

ATLIFace.h (also included in ATLBase.h)

Show:
© 2014 Microsoft