Chapter 29 ATL and Objective Chart
Objective Chart (OC) components, like those from any other MFC extension library, can be used in an Active Template Library (ATL) application that has MFC support enabled. However, using Objective Chart components within ATL applications effectively and extensibly requires attention to several issues. These issues are not specific to Objective Chart; in fact, they apply to any other MFC extension library as well. To address them, we have provided a set of custom ATL object wizards and some sample code that will produce ATL ActiveX controls that wrap Objective Chart components right out of the box. In the following sections, we illustrate how to export Objective Chart component functionality (through the ATL ActiveX controls you develop) to the users of your controls.