Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This class provides methods for manipulating a window hosting an ActiveX control.
Important
This class and its members cannot be used in applications that execute in the Windows Runtime.
class CAxWindow : public CWindow
Members
Methods
Attaches an existing ActiveX control to the CAxWindow object. |
|
Constructs a CAxWindow object. |
|
Creates an ActiveX control, initializes it, and hosts it in the CAxWindow window. |
|
Creates an ActiveX control and retrieves an interface pointer (or pointers) from the control. |
|
(Static) Retrieves the predefined class name of the CAxWindow object. |
|
Retrieves the IUnknown of the hosted ActiveX control. |
|
Retrieves the IUnknown pointer of the CAxWindow object. |
|
Sets the external dispatch interface used by the CAxWindow object. |
|
Sets the external IDocHostUIHandler interface used by the CAxWindow object. |
Operators
Assigns an HWND to an existingCAxWindow object. |
Remarks
This class provides methods for manipulating a window that hosts an ActiveX control. The hosting is provided by "AtlAxWin80", which is wrapped by CAxWindow.
Class CAxWindow is implemented as a specialization of the CAxWindowT class. This specialization is declared as:
typedef CAxWindowT<CWindow> CAxWindow;
If you need to change the base class, you can use CAxWindowT and specify the new base class as a template argument.
Requirements
Header: atlwin.h
See Also
Reference
Concepts
ATL Composite Control Fundamentals