Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

transform MDI app into a dll and load it as child of another window

Posted on 2006-04-13
1
Medium Priority
?
238 Views
Last Modified: 2013-11-20
hello,
like the subject sais i want to transform a MDI application into a dll and
load from that dll the main window as a child of an other window.

what i have done so far is:
i created a dll using the same sources as my exe uses, i have created a
wrapper class in this dll which helps me access the functionality of
application. with this wrapper i created the main MDI window, as child of an
other window.

but now i have this problem: the buttons of my toolbars do not get updated
properly ( i mean enable/disable ), also i have no tooltips, and the text in
the statusbar does not update either.
i think it is because command_update_ui are not dispatched corectly... but
i'm stuck.

so, if you have any idea why this happens or an example of the proper way to
do this, please help


thank you.
A.
0
Comment
Question by:Agarici
1 Comment
 
LVL 22

Accepted Solution

by:
mahesh1402 earned 2000 total points
ID: 16447696
>>an example of the proper way to do this, please help

You may refer this articles for more :

Using a Doc/View exported from a dynamically loaded DLL
http://www.codeproject.com/docview/sdicviewdll.asp

Share the View/Doc Architecture in a DLL
http://www.codeguru.com/cpp/w-p/dll/article.php/c3637/

MAHESH
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question