mdiparent

MDIParent Tiling children

Is there any way to tile all of the form children of an mdi parent easily? I'm looking for most of the functionality that windows offers, tile cascade. Anyone know of an easy way? ...

Winforms MDI "Desktop" Area Boundry

The default MDI parent control has a large "desktop" area that can display multiple child forms. Users can drag forms to the edge of this desktop area so that most of the child form is off the screen. (A scroll bar then appears in the MDI parent) I don't like this feature. Is there a way to lock down the edge of the desktop area so tha...

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 subtracting off the sizes of components like toolbars, etc that take away from the client are...

How to use MouseWheel to scroll MDI parent window in Winforms app

I have a VB.Net Winforms app which displays an MDI parent form and allows multiple child forms to be displayed on it. If the child forms extend beyond the screen height, a vertical scrollbar is automatically displayed on the right side of the MDI Parent & I can use this scrollbar to scroll the child forms into view. But, the mousewheel...

MDI Child form calling, not generation.

Hello. I have an MDI form with 3 nested children with in it. As of right now all it can do is display a new form. For example: each time I press the menu button, the new child form(Form1) is created. Now, if I press that same menu button a second or subsequent time a new Form1 is created and it appears over the previous one. What I w...

C# glass on an mdiparent

I am trying to use the DwmExtendFrameIntoClientArea method on an mdiparent. IsMdiContainer = true; However the glass does not render correctly. Is this a limitation of an mdiparent I can get around? If the form isn't set as an mdicontainer then the glass renders perfectly. The glass area paints white instead of with glass. ...

How to remove an MDIChild from its parent?

The main goal is to make an MDIChild form, FULLSCREEN. I just want to make my form, free of its Parent and change WindowState and BorderStyle of it for a fullscreen view. Is there any way to do this? ...

How to remove gray background on MDI parent form?

What I'm trying to do is draw some glass on a form marked as an mdi container. However as soon as the IsMdiContainer is set, the form adds an MdiClient to it's list of Controls. At this point something happens to the parent form - almost like a dark gray panel is being docked to the entire form onto which the MdiClient is being placed on...

MDI Parent Child Form location problems

I know using the follwing two methods for showing a form in another form method1 public Form1() { InitializeComponent(); Form2 embeddedForm = new Form2(); embeddedForm.TopLevel = false; Controls.Add(embeddedForm); embeddedForm.Show(); } method 2 Form1 fChild = new Form1(); fChild.MdiParent = this; fChild.Show();...

Windows Forms - MdiClient scroll bars not automatically appearing as expected

I'm writing a windows forms application in C# whereby some windows utilities can be launched (e.g. CMD prompt, Registry editor, Events Viewer etc) and placed in an MdiClient control on the main form. Everything is working great except that the scroll bars in the MdiClient control aren't automatically appearing when a child window falls ...

Maximizing child mdi in limited area

I have a form which is a mdicontainer and has a menu strip at the top. I add a child form to my mdi container and when I maximize the child it maximizes over the menustrip. I want to know how to limit the child to maximize below the menustrip. Any help would be appreciated. ...

C#: How to know if a MDIChild is closed or opened in a MdiChildActivate event?

I have a MDI Parent, with several children, using DotNetBar component and Ribbon on the main form. I have a sidebar required for some of the MDI children, but different one from another, so in the MDI Children "Cajero" I need some buttons and on the other I need some others, and when, Cajero closes I want to hide that sidebar. The prob...

Child form causes Parent Form Vertical Scroll

I have a loading dialog that I show with a static method. The loading dialog class is as follows: using System.Threading; using System.Drawing; using System.Windows.Forms; namespace Pf.PfGui2010.Gui.Base { public class PFLoadingDialog : DevExpress.Utils.WaitDialogForm { private static PFLoadingDialog form; private static Threa...

capture mouse location in mdiparent window

Hi All, I wanted to capture mouse location in mdiparent, in mdiparent i have added a webBrowser control which is docked to parent(mdiparent). so i am unable to get mouse location on webBrowser, as it doesn't have any Mouse event. please guide me... Thanks, Makki ...

LayoutMDI all but one child form

Hi All, I have an MDI Application and have a sort of menu that has been created using a child form so it stays within the parents window. What I would like is when I call LayoutMDI (or some variation) for all but this form to be cascaded, tiled ect but I can't seem to find a way to do it. I have tried overriding the LayoutMDI but that...

Centre a form in VB6

I am writing a programme to be used internaly within our company and have come across the problem below: How can you get a Child form to centre on the screen when using the MDI parent maximised form as the backgroung ...

Tips on setting the window state of a winforms

I have a Winform that opens mdichild forms. When i select those forms, i need to set or render its windowstate to Maximized. Problem is, when i navigate between the open forms, it reverts back to normal windowstate. and when i set the windowstate to maximized again, it shows the transition from normal to maximized state and it doesn't lo...

C#: How to show a child form within a mdi container form which its windowstate= maximized ?

hi all How can I show a child form within a mdi container form which its windowstate= maximized ? when I put these below lines of code when my child form is loading (by clicking on a menu Item of my Main form), the child form loses its parent position and does not show within its parent form. private void mnuUnit_Click(object sender, ...

Change backcolor or background image of a MDI Container form in .net

i need to change the backcolor or background image of a mdi parent in my application. i tried changing the backcolor or specifying a background image, it won't work. i also tried looping the controls in the form to get the mdiclient and change its backcolor, also zero same result. ...

How to open a mdi child form from another with vb?

How to open a mdi child form from another with vb in the main mdi parent? ...