Query related to embed MS WORD with SDI app ?

R

Rakesh

Hi All,

I am developing an Windows explorer type SDI application using MFC .
In the list view of my application i have to open up an WORD(.doc) file
depending on the user choice.

For this i have selected the <container> radio button in the MFC App Wizard
step 3 of 6.

Now for the purpose of opening the WORD file in the list view, i have used
OLE Programming to embed MS WORD in my application.

I was also required to remove the menu & toolbar of MS - WORD. For this i
have used the dll <MSO.dll> & type library <MSWORD.olb>.

so far so good. The word file is successfully opened in the list view along
with the menu & the toolbar removed.

BUT, doing all this has also removed the menu & toolbar of my SDI
application.

I DONOT UNDERSTAND Y MY APPICATION'S MENU & TOOLBAR ARE BEING REMOVED.

If required i can also post the code.

Waiting for suggestions.

Best Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top