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. Showing MDIChild modally?

Showing MDIChild modally?

Scheduled Pinned Locked Moved C#
question
5 Posts 3 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.
  • Z Offline
    Z Offline
    zaboboa
    wrote on last edited by
    #1

    Hello, Is there a way to show an MDIChild form modally? Thank you very much

    D Z 2 Replies Last reply
    0
    • Z zaboboa

      Hello, Is there a way to show an MDIChild form modally? Thank you very much

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      No. MDI Child forms are not meant for this purpose. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      Z 1 Reply Last reply
      0
      • D Dave Kreskowiak

        No. MDI Child forms are not meant for this purpose. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        Z Offline
        Z Offline
        zaboboa
        wrote on last edited by
        #3

        So if my MDIChild window open, how can I make shure they don't click on the menu, etc.. without disabling it. So to make it the same way as when you trying to click away in the modal form and it makes this "Ding" sound? Thank you

        D 1 Reply Last reply
        0
        • Z zaboboa

          So if my MDIChild window open, how can I make shure they don't click on the menu, etc.. without disabling it. So to make it the same way as when you trying to click away in the modal form and it makes this "Ding" sound? Thank you

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          zaboboa wrote: how can I make shure they don't click on the menu, etc.. without disabling it. "menu, etc, ..." of what? Your explanation isn't very clear at all. An MDI Child window is a Multiple DOCUMENT Interface window. It's meant to edit documents, like having multiple editing windows open in Word, each editing a different document. It's not meant to be a modal window for anything. I don't get why your MDI Child window has to be modal. I can't think of a single reason why you would want to do this. What are you trying to do with this? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

          1 Reply Last reply
          0
          • Z zaboboa

            Hello, Is there a way to show an MDIChild form modally? Thank you very much

            Z Offline
            Z Offline
            Zishan Haider
            wrote on last edited by
            #5

            you can't make it a modal but you can play a trick like I did. Do not make it a MdiChild. Set its ShowInTaskBar to false.. open it modally.. (ShowDialog) that will do exactly what you want.. Regards

            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