2 Icons when MDI child is maximized, 3 sets of min/max/close boxes when maxed?
-
I am getting a double icon when I maximized a child window, I don't want this to happen, it looks terrible. Anyway to prevent this? Unmaximized Maximized This is what happens if I start the child form maximized... THREE close buttons?! Crazy Whats going wrong here?
-
I am getting a double icon when I maximized a child window, I don't want this to happen, it looks terrible. Anyway to prevent this? Unmaximized Maximized This is what happens if I start the child form maximized... THREE close buttons?! Crazy Whats going wrong here?
I think there might be something wrong in way you make the form MDIChild! Can you post back how are you doing this? Other than that I cannot think of any other thing that would cause such problem :confused:
- Stop thinking in terms of limitations and start thinking in terms of possibilities -
-
I think there might be something wrong in way you make the form MDIChild! Can you post back how are you doing this? Other than that I cannot think of any other thing that would cause such problem :confused:
- Stop thinking in terms of limitations and start thinking in terms of possibilities -
There is a method on the mdi container form to launch children. public void ShowMdiChild(Form form) { Cursor = Cursors.WaitCursor; form.MdiParent = this; form.WindowState = FormWindowState.Normal; form.Show(); Cursor = Cursors.Arrow; }
-
There is a method on the mdi container form to launch children. public void ShowMdiChild(Form form) { Cursor = Cursors.WaitCursor; form.MdiParent = this; form.WindowState = FormWindowState.Normal; form.Show(); Cursor = Cursors.Arrow; }
Try this code:
Cursor = Cursors.WaitCursor; YourForm frm1 = new YourForm(); frm1.MdiParent = this; frm1.Show(); frm1.WindowState = FormWindowState.Maximized; Cursor = Cursors.Arrow;
- Stop thinking in terms of limitations and start thinking in terms of possibilities -