
Newbie?ActiveX Control in ActiveX Control
Hi,
Have you included the "AfxEnableControlContainer()" statement in the
COleControl derivative?
regards,
Helge
=====================================
Helge Minken
http://login.eunet.no/~helgemi
TreeApplet Composer:
http://login.eunet.no/~helgemi/TAComposer
LicenseManager:
http://login.eunet.no/~helgemi/LicenseManager
=====================================
Quote:
>Hi,Everybody:
> I 've just used AppWizard create a ActiveX Control ( Like MyOcx), I insert
>an another ActiveX Control like Calender in my project ,and I want to
>create the Calender Control dynamic in the OnCreat() in the CMyOcxCtr
>Class.
m_Calender.Create("Test",m_dwStyle,m_rectCalender,this,IDC_CALENDER,NULL,FA
Quote:
>LSE,NULL);
> Everthing is Ok in building .But when I test this OCX in Active Control
>Test Container, it said like "read the wrong address 0x00000" ,and quit.
>Use IE is same.
> But when I use the Calender in the same way in a MFC Application,
>everything is OK, the CCalender works well.
> Please help me .
> Thanks