COleControlModule Class
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

COleControlModule Class

The base class from which you derive an OLE control module object.

class COleControlModule : public CWinApp

This class provides member functions for initializing your control module. Each OLE 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.

For more information on using the COleControlModule class, see the CWinApp class and the article ActiveX Controls.

Header: afxctl.h

© 2015 Microsoft