The COleControlModule class is the base class from which you derive an ActiveX control module object. This class provides member functions for initializing your control module. Each ActiveX control module that uses the Microsoft Foundation classes can only contain one object derived from COleControlModule. This object is constructed when other C++ global objects are constructed. Declare your derived COleControlModule object at the global level.
COleControlModule is derived from CWinApp, and serves the same function in an ActiveX control module that CWinApp serves in a stand-alone application. For more information on using the COleControlModule class, see the CWinApp class.
Header file: | Afxctl.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
Application Architecture Classes, CWinApp