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.
MFC Macros and Globals
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback