Click here to Skip to main content
13,152,321 members (38,914 online)
Rate this:
Please Sign up or sign in to vote.
See more:

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 27-Dec-11 20:01pm
DaveAuld 28-Dec-11 14:15pm
I'm hoping someone can decipher the question, you lost me!
SAKryukov 28-Dec-11 18:53pm
Why? why?!

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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:[^],
Question on using MDI windows in WPF[^],
MDIContainer giving error[^],
How to Create MDI Parent Window in WPF?[^].

Good luck,

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170924.2 | Last Updated 19 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100