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

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.
LVL 11
AgariciAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mahesh1402Commented:
>>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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.