Home | Overview | How Do I | Tutorial | Sample
An ActiveX control container is a container that fully supports ActiveX controls and can incorporate them into its own windows or dialogs. An ActiveX control is a reusable software element that you can use in many development projects. Controls allow your application’s user to access databases, monitor data, and make various selections within your applications. For more information on ActiveX controls, see the article ActiveX Control Topics.
Control containers typically take two forms in a project:
The ActiveX control container interacts with the control via exposed methods and properties. These methods and properties, which can be accessed and modified by the control container, are accessed through a wrapper class in the ActiveX control container project. The embedded ActiveX control can also interact with the container by firing (sending) events to notify the container that an action has occurred. The control container can choose to act upon these notifications or not.
Additional articles discuss several topics, from creating an ActiveX control container project to basic implementation issues related to ActiveX control containers built with Visual C++:
For more information about using ActiveX controls in a dialog box, see the Dialog Editor documentation in Visual C++ User’s Guide.
For a list of articles that explain the details of developing ActiveX controls using Visual C++ and the MFC ActiveX control classes, see ActiveX controls. The articles are grouped by functional categories.