Click to See Complete Forum and Search --> : OLE Enabled Document with ActiveX Control to be displayed in Word


Rao_Sivampeta
May 18th, 1999, 11:56 PM
Hi,

I have created a OLE enabled Document which has an ActiveX Control embedded in the document. When it try to open the document in word, Inplace activation of the document I am able to see the ActiveX Control in the document. But when inactive I am not able to see the display. In OnDraw function of SvrItem of my application I am calling Draw function for the Control, but the control is not getting created as the Create() function requires a CWnd object as parameter. If I try to call the OnDraw function of the View it is opening the application when I try to insert the New document of my application in word and it is not insert the document.

Can any one have a Idea how to handle this problem so that I can display the document with ActiveX Control in Word.

Any help in this regard will be greatly appreciated.

Thanks,