Control Containment Classes
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Control Containment Classes (ATL).
The following classes provide containment support for hosting controls:
CAxWindow Provides methods for manipulating a window that hosts an ActiveX control.
CAxWindow2T Provides methods for manipulating a window that hosts an ActiveX control and also has support for hosting licensed ActiveX controls.
IAxWinAmbientDispatch Call the methods on this interface to set the ambient properties available to a hosted control.
IAxWinHostWindow Call the methods on this interface to create and/or attach a control to a host object, or to get an interface from a hosted control.