Share via


IAxWinHostWindow Interface

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

Important

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

interface IAxWinHostWindow : IUnknown

Members

Methods

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.

Remarks

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.

Requirements

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)

See Also

Reference

IAxWinAmbientDispatch Interface

CAxWindow::QueryHost

AtlAxGetHost