Udostępnij za pośrednictwem


What Is a Host Object?

A host object is a COM object that represents the ActiveX control container supplied by ATL for a particular window. The host object subclasses the container window so that it can reflect messages to the control, it provides the necessary container interfaces to be used by the control, and it exposes the IAxWinHostWindow and IAxWinAmbientDispatch interfaces to allow you to configure the environment of the control.

You can use the host object to set the ambient properties of the container.

See Also

Concepts

ATL Control Containment FAQ