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. MDI Parent in C#

MDI Parent in C#

Scheduled Pinned Locked Moved C#
helpcsharp
9 Posts 6 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
    Zeyad Jalil
    wrote on last edited by
    #1

    Hi All, I Develop an application with main form (MDI Form) and all child forms opened in the same form, but my problem is when open the application the windows task bar doesn't show until i minimize or close the application. please help me if you can who to show the windows task bar in the same time when my application is opened. Thanks.

    I A P B 4 Replies Last reply
    0
    • Z Zeyad Jalil

      Hi All, I Develop an application with main form (MDI Form) and all child forms opened in the same form, but my problem is when open the application the windows task bar doesn't show until i minimize or close the application. please help me if you can who to show the windows task bar in the same time when my application is opened. Thanks.

      I Offline
      I Offline
      Ingo
      wrote on last edited by
      #2

      Go to the MDI-Form and take a look to the properties. Is the property "ShowInTaskbar" set to true? If not set it to true. That's the normal state, but it seems it's missing for your form.

      ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

      Z 1 Reply Last reply
      0
      • I Ingo

        Go to the MDI-Form and take a look to the properties. Is the property "ShowInTaskbar" set to true? If not set it to true. That's the normal state, but it seems it's missing for your form.

        ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

        Z Offline
        Z Offline
        Zeyad Jalil
        wrote on last edited by
        #3

        Hi, The property "ShowInTaskbar" is true but still the windows task bar disappeared Thanks

        I B 2 Replies Last reply
        0
        • Z Zeyad Jalil

          Hi, The property "ShowInTaskbar" is true but still the windows task bar disappeared Thanks

          I Offline
          I Offline
          Ingo
          wrote on last edited by
          #4

          Ok. The Windows is not shown in the taskbar, you say. If you create a new Project with a normal form, is that shown on taskbar? If it is shown, the problem might be your project. Create a new one and copy the files to the new folder, include them into the new project.

          ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

          1 Reply Last reply
          0
          • Z Zeyad Jalil

            Hi All, I Develop an application with main form (MDI Form) and all child forms opened in the same form, but my problem is when open the application the windows task bar doesn't show until i minimize or close the application. please help me if you can who to show the windows task bar in the same time when my application is opened. Thanks.

            A Offline
            A Offline
            Albarhami
            wrote on last edited by
            #5

            Try to handle it with dock property

            I 1 Reply Last reply
            0
            • A Albarhami

              Try to handle it with dock property

              I Offline
              I Offline
              Ingo
              wrote on last edited by
              #6

              Albarhami wrote:

              Try to handle it with dock property

              The dock property has nothing to do with the task bar. It just handles if a control is docked on one side of it's parent.

              ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

              1 Reply Last reply
              0
              • Z Zeyad Jalil

                Hi, The property "ShowInTaskbar" is true but still the windows task bar disappeared Thanks

                B Offline
                B Offline
                BobJanova
                wrote on last edited by
                #7

                Just to be clear about this: the ShowInTaskbar for the main form, right? MDI children will never appear in the taskbar.

                1 Reply Last reply
                0
                • Z Zeyad Jalil

                  Hi All, I Develop an application with main form (MDI Form) and all child forms opened in the same form, but my problem is when open the application the windows task bar doesn't show until i minimize or close the application. please help me if you can who to show the windows task bar in the same time when my application is opened. Thanks.

                  P Offline
                  P Offline
                  Pete OHanlon
                  wrote on last edited by
                  #8

                  If you have a Windows Form application here, it means one of two things - one, the taskbar is set to autohide, or two, you have code in the application that's designed to run the application full screen.

                  *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                  "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                  CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                  1 Reply Last reply
                  0
                  • Z Zeyad Jalil

                    Hi All, I Develop an application with main form (MDI Form) and all child forms opened in the same form, but my problem is when open the application the windows task bar doesn't show until i minimize or close the application. please help me if you can who to show the windows task bar in the same time when my application is opened. Thanks.

                    B Offline
                    B Offline
                    BillWoodruff
                    wrote on last edited by
                    #9

                    Are you properly setting the MDiParent property of each child window to 'true ? Once you have set that property: the setting of 'ShowInTaskBar for MdiChild Forms has no effect. See Pete O'Hanlon's reply above for other things you should check on. And, also, if you are using Windows 7, there have been many bug reports to Microsoft about the Main TaskBar stuck on Visible, and not hiding, when its AutoHide property is set to false: I have this problem, at times myself, and have reported it: but I have never heard of anyone having a problem where the Main TaskBar was "stuck" on "closed." best, Bill

                    "When it comes to atoms, language can be used only as in poetry. The poet, too, is not nearly so concerned with describing facts as with creating images." Niels Bohr

                    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