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

Posted on 2006-04-13
Last Modified: 2013-11-20
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.
Question by:Agarici
    1 Comment
    LVL 22

    Accepted Solution

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

    Share the View/Doc Architecture in a DLL


    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
    Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
    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.
    This video discusses moving either the default database or any database to a new volume.

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now