Edit

Share via


COleControlModule Class

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

Syntax

class COleControlModule : public CWinApp

Remarks

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.

Inheritance Hierarchy

CObject

CCmdTarget

CWinThread

CWinApp

COleControlModule

Requirements

Header: afxctl.h

See also

MFC Sample TESTHELP
Hierarchy Chart