AfxEnableControlContainer
Call this function in your application object's InitInstance function to enable support for containment of OLE controls.
void AfxEnableControlContainer( );
For more information about OLE controls (now called ActiveX controls), see ActiveX Control Topics.
Header: afxdisp.h