Creating an MDI application to behave/look like a SDI application - 500 points!
Posted on 2005-04-20
I'm trying to create an MDI application that looks and behaves like a SDI application. I've gotten a partial implementation to work, but having problems with the sizing and location of the child forms. Also, I'm having problems disposing of the child forms correctly.
Here is what i'm trying to do.
There is just one menubar/toolbar and window that is consistent throughout the application. Some restrictions I have are that in order to save memory usage, I only want one child form to be created at a time and only when it is the visible form. When the user selects another button from the toolbar/menubar it then disposes/closes/frees up the resources (somehow) and creates the new form that was selected.
The child forms should also fill in the entire window (even upon resizing). I also can not show any scrollbars.
I'm new to MDI application desgin in VB.NET. I'm looking for a comprehensive example.
I hope this was clear enough. If any question or clarifications are needed, let me know.
I need this soon, so 500 points!