CAxWindow2T Class

This class provides methods for manipulating a window that hosts an ActiveX control, and also has support for hosting licensed ActiveX controls.

template < 
   class TBase = CWindow 
>
class CAxWindow2T : 
   public CAxWindowT< TBase >

Parameters

  • TBase
    The class from which CAxWindowT derives.

Remarks

CAxWindow2T provides methods for manipulating a window that hosts an ActiveX control. CAxWindow2T also has support for hosting licensed ActiveX controls. The hosting is provided by "AtlAxWinLic80", which is wrapped by CAxWindow2T.

Class CAxWindow2 is implemented as a specialization of the CAxWindow2T class. This specialization is declared as:

typedef CAxWindow2T <CWindow> CAxWindow2;

备注

CAxWindowT members are documented under CAxWindow.

See Hosting ActiveX Controls Using ATL AXHost for a sample that uses the members of this class.

Requirements

Header: atlwin.h

See Also

Concepts

CAxWindow2T Members

ATL Class Overview

ATL Control Containment FAQ