I have a MDI application. It is possible call a dll that is at the same time a MDIChild?
Thank's for your attention.
Printable View
I have a MDI application. It is possible call a dll that is at the same time a MDIChild?
Thank's for your attention.
I don't think you can as you need an MDI parent in the same project as the child in order to display it.
What I suggest though is to create a blank child form template in your main project and then pass in an object reference to a new instance of the child form to the DLL where it can control it's behaviour.
I know it's not quite as good but it's the only way i can think of doing it.
Simon.
Simonm is right. Here is the article describing the process.
http://msdn.microsoft.com/library/pe...d99/da0399.htm
You would need a function to load the form too.