AfxEnableControlContainer

Call this function in your application object's InitInstance function to enable support for containment of OLE controls.

void AfxEnableControlContainer( );

Remarks

For more information about OLE controls (now called ActiveX controls), see ActiveX Control Topics.

Requirements

Header: afxdisp.h

See Also

Concepts

MFC Macros and Globals