Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. 2 Icons when MDI child is maximized, 3 sets of min/max/close boxes when maxed?

2 Icons when MDI child is maximized, 3 sets of min/max/close boxes when maxed?

Scheduled Pinned Locked Moved C#
comquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    eggsovereasy
    wrote on last edited by
    #1

    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?

    P 1 Reply Last reply
    0
    • E eggsovereasy

      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?

      P Offline
      P Offline
      parth p
      wrote on last edited by
      #2

      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 -

      E 1 Reply Last reply
      0
      • P parth p

        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 -

        E Offline
        E Offline
        eggsovereasy
        wrote on last edited by
        #3

        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; }

        P 1 Reply Last reply
        0
        • E eggsovereasy

          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; }

          P Offline
          P Offline
          parth p
          wrote on last edited by
          #4

          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 -

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups