Click to See Complete Forum and Search --> : am I on right track ?


mahendra
April 29th, 1999, 01:24 AM
I have a MFC base application. I want to make it online ( that is it should be accessible through Browser )
So I must convert it to into an AcitveX control. As My source is in MFC I took MFC approach ( NOT ATL as I don't know anything about it ) to design my Activex Control

I took the following approach :

I derived My class from COleControl ( called CMyOleControl ) and then I derived my ActiveX control from CMyOleControl I Overridden COleControl:: CreateControlWindow( ….) and In that I created instance of my CmainFrame Class in this overridden function and loaded the frame the fram appears on the page but it is not embedded on the page.

I am not getting enough document on this please tell me I am doing the right thing


Thank you
Mahendra Bhagat