Click here to Skip to main content
16,018,158 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am working on Mdiforms, I took menustrip with one menustrip item(parent form), in that i took 3 child forms. when I open child forms those forms fit into parent form(child form maximize window). when i open childforms and close those child forms one by one there is no problem, all forms are maximized window size.

problem: when i open no.of childforms, the last childform is minimized the remaining
childforms(before open last childforms) are goes to normal window size(not in
maximum window size).

Que: how to maximize Child windows, not only childforms closing, even childforms minimized also(all child forms are maximized only even closed or minimized).
Posted
Comments
DaveAuld 28-Dec-11 14:15pm    
I'm hoping someone can decipher the question, you lost me!
Sergey Alexandrovich Kryukov 28-Dec-11 18:53pm    
Why? why?!
--SA

1 solution

Look, listen to a good friendly advice: stop torturing yourself and chasing our your users with that MDI nonsense. Nearly everyone discourages it, and Microsoft worked hard to phase this thing out. Finally, MDI was not included in WPF even though it remains in System.Windows.Forms, presumably for compatibility with legacy code, but highly discouraged even by Microsoft where this concept was created.

There are many robust conceptions; the simplest one is the tabbed UI based on TabControl.

Please see:
http://en.wikipedia.org/wiki/Multiple_document_interface#Disadvantages[^],
Question on using MDI windows in WPF[^],
MDIContainer giving error[^],
How to Create MDI Parent Window in WPF?[^].

Good luck,
—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900