Compartilhar via


AfxEnableControlContainer

 

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

Syntax

void AfxEnableControlContainer( );

Remarks

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

Requirements

Header: afxdisp.h

See Also

MFC Macros and Globals