Agarici
asked on
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.
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.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.