ActiveX control in an ActiveX control 
Author Message
 ActiveX control in an ActiveX control

Is it possible for an ActiveX control to host other ActiveX controls?  I am
trying to create an ActiveX control (using MFC and the ActiveX Control
Wizard) to build a control that hosts the IE control.  I add the IE control
to the project, but it fails when I try to create the control.  I've tried
hosting other controls, like circ3, with the same result.

A crash occurs in CWnd::InitControlContainer().

BOOL CWnd::InitControlContainer()
{
 TRY
 {
  if (m_pCtrlCont == NULL)
   m_pCtrlCont = afxOccManager->CreateContainer(this);  /// CRASHES HERE
 }
 END_TRY

Mike



Sat, 07 Aug 2004 02:47:31 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Control webbrowser ActiveX control in composit ActiveX control

2. ActiveX control inside another activex control

3. Need help with ActiveX control containing other activex controls

4. ActiveX control inside another ActiveX control

5. Need help with ActiveX control containing other activex controls

6. ATL ActiveX Control hosting code fails to initialize ActiveX Controls on Win9x

7. Modify Activex Control Properties from other Activex Control.

8. ActiveX-control inside ActiveX-control

9. Custom ActiveX control built on a Standard (comctl32.ocx) ActiveX Control

10. Windowless ActiveX control/ Transparent ActiveX control

11. Newbie?ActiveX Control in ActiveX Control

12. Modify Activex Control Properties from other Activex Control.

 

 
Powered by phpBB® Forum Software