Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CAxWindow2T Class

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

Important note Important

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

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

The class from which CAxWindowT derives.

Name

Description

CAxWindow2T::CAxWindow2T

Constructs a CAxWindow2T object.

Name

Description

CAxWindow2T::Create

Creates a host window.

CAxWindow2T::CreateControlLic

Creates a licensed ActiveX control, initializes it, and hosts it in the specified window.

CAxWindow2T::CreateControlLicEx

Creates a licensed ActiveX control, initializes it, hosts it in the specified window, and retrieves an interface pointer (or pointers) from the control.

CAxWindow2T::GetWndClassName

Static method that retrieves the name of the window class.

Name

Description

CAxWindow2T::operator =

Assigns an HWND to an existing CAxWindow2T object.

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;

Note Note

CAxWindowT members are documented under CAxWindow.

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

TBase

CAxWindowT

CAxWindow2T

Header: atlwin.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.