MDI (Multiple Document Interface) is a type of GUI , which presents a single parent (container) window for other windows in a specific application
Questions tagged [mdi]
935 questions
104
votes
5 answers
Visual Studio 2010 annoyingly opens documents in wrong MDI pane
Visual Studio's MDI is currently causing me a lot of frustration. Here is my basic layout:
+--------------+---+
| | |
| 1 | |
| | |
| | 3 |
+--------------+ |
| 2 | …

Mike Chamberlain
- 39,692
- 27
- 110
- 158
53
votes
3 answers
How to make WinForms UserControl fill the size of its container
I am trying to create a multilayout main screen application. I have some buttons at the top that link to the main section of the application (e.g. management window for each entity in the Model)
Clicking any of these button displays the associated…

codingbiz
- 26,179
- 8
- 59
- 96
17
votes
3 answers
Assembly reference not found in XAML, but code compiles when referenced in xaml.cs class
I've got a strange problem adding a dll reference. I've got a WPF application and am trying to use the WPF MDI library: http://wpfmdi.codeplex.com/
As stated in the instructions (which are very vague), I right-clicked on references in VS2012,…

Dot NET
- 4,891
- 13
- 55
- 98
16
votes
9 answers
Problem with icon on creating new maximized MDI child form in .NET
I have a .NET 3.5 MDI WinForms application.
I set a a child form's Icon property, and the icon shows up correctly in the top left corner of the form. I then maximize the child form and the icon is still OK.
With the child form still maximized, I…

lc.
- 113,939
- 20
- 158
- 187
15
votes
3 answers
How to implement mdi in a WPF application
I really like MDI applications.
It allows me to move quickly between windows and compare the content of different windows. Furthermore, sometime the content of one window is useful for another, so I can copy and paste. I think it's a great user…

Asaf
- 3,067
- 11
- 35
- 54
15
votes
2 answers
Change Background of an MDI Form
How can I change the BACKGROUND color of the MDI FORM in C#?
I changed it using the background color property but the color is not changed.
What should I do to perform this task?

sheetal
- 387
- 4
- 7
- 13
14
votes
2 answers
Why would overwriting .GetHashCode clear these databound values in WinForms?
We have run into a strange bug that we're having problems debugging.
We have a MDI workspace that uses Microsoft CAB, DevExpress components, and .Net 3.5.
If users open two windows in the workspace that each contain a UserControl bound to two…

Rachel
- 130,264
- 66
- 304
- 490
14
votes
4 answers
Switch GUI application behavior between SDI and MDI
I currently have an SDI application that is build with Delphi 7, I want the final user to choose the type of interface between SDI and MDI at runtime. my question is how can I change the behavior of the application between SDI and MDI at…

Salvador
- 16,132
- 33
- 143
- 245
13
votes
7 answers
Prevent duplicate MDI children forms
Is there a way to prevent the opening of a certain form within an MDI container if that said form is already opened?

user
- 16,429
- 28
- 80
- 97
12
votes
5 answers
Maximize MDI child form
I'm working on a legacy WinForms MDI application and have some trouble making the child forms behave as I want.
My objective is to have the child form always maximized (docked).
The problem is, that even if I set MaximizeBox to false the…

Jay
- 2,141
- 6
- 26
- 37
12
votes
2 answers
Size/Location of Winforms MDI Client Area
Inside an MDI form is a client area that hosts the mdi child forms. How do I find out how big that area is? The best I can come up with so far is finding the total size of the parent's potential client area (mdiparent.ClientRectangle) and then…

Jeff
- 8,020
- 34
- 99
- 157
12
votes
2 answers
How can I remove the sunken inner edge of an MDI client window?
The other day, I started to develop my new project. There should be a MDI form with some child forms on it. But when I started to develop, I ran into a following problem: when the main form becomes MDI-form, it draws with а terrible border (bevel)…

impulsgraw
- 887
- 3
- 13
- 34
11
votes
13 answers
Visually remove/disable close button from title bar .NET
I have been asked to remove or disable the close button from our VB .NET 2005 MDI application. There are no native properties on a form that allow you to grey out the close button so the user cannot close it, and I do not remember seeing anything…

Jrud
- 820
- 3
- 7
- 21
11
votes
1 answer
MDI application consumes 100% cpu in idle
I'm working on MDI application written in C++ Builder 2010. When child window is in maximized state, application consumes 100% of CPU time in idle mode.
I have used 'Very Sleepy' profiler and it shows that function Sd_childFinalize is using 99% of…

Yury Rudakou
- 411
- 3
- 15
9
votes
3 answers
JDesktopPane - how to get active frame
How to get active (having focus) frame (JInternalFrame) that is inside JDesktopPane? I need it for my MDI notepad (not that anybody would use that, just a training project). Looking at api, I see only functions to get all JInternalFrames, not active…

Dariusz G. Jagielski
- 655
- 3
- 11
- 22