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. how to hide windows TitleBar

how to hide windows TitleBar

Scheduled Pinned Locked Moved C#
csharptutorial
8 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.
  • L Offline
    L Offline
    liming
    wrote on last edited by
    #1

    :)who can tell me about how to hide windows TitleBar in c#,like windows Media Player 10.0 . thanx d

    C 1 Reply Last reply
    0
    • L liming

      :)who can tell me about how to hide windows TitleBar in c#,like windows Media Player 10.0 . thanx d

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Set the dialog box style to not have a title bar. Christian Graus - Microsoft MVP - C++

      L 1 Reply Last reply
      0
      • C Christian Graus

        Set the dialog box style to not have a title bar. Christian Graus - Microsoft MVP - C++

        L Offline
        L Offline
        liming
        wrote on last edited by
        #3

        thanks,for ur reply, i want to know how to hide the window titlebar,and its sizeable property still useing d -- modified at 12:47 Tuesday 29th November, 2005

        C 1 Reply Last reply
        0
        • L liming

          thanks,for ur reply, i want to know how to hide the window titlebar,and its sizeable property still useing d -- modified at 12:47 Tuesday 29th November, 2005

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Yes, there's a different property to set the dialog frame type, you can make it not sizable there. Christian Graus - Microsoft MVP - C++

          L 1 Reply Last reply
          0
          • C Christian Graus

            Yes, there's a different property to set the dialog frame type, you can make it not sizable there. Christian Graus - Microsoft MVP - C++

            L Offline
            L Offline
            liming
            wrote on last edited by
            #5

            tankx,but i need the Form resizeable without title bar,My applications UI like MSN 7.5, can u answer me before look over MSN or MS MediaPlayer UI? thank u d -- modified at 23:18 Tuesday 29th November, 2005

            C 1 Reply Last reply
            0
            • L liming

              tankx,but i need the Form resizeable without title bar,My applications UI like MSN 7.5, can u answer me before look over MSN or MS MediaPlayer UI? thank u d -- modified at 23:18 Tuesday 29th November, 2005

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              If you hide the title bar, can't you still resize the form by the edges ? If not, then you can easily code this behaviour, just capture the mouse on the edges, and if it's down, use the amount the mouse moves to resize your form. Christian Graus - Microsoft MVP - C++

              L 1 Reply Last reply
              0
              • C Christian Graus

                If you hide the title bar, can't you still resize the form by the edges ? If not, then you can easily code this behaviour, just capture the mouse on the edges, and if it's down, use the amount the mouse moves to resize your form. Christian Graus - Microsoft MVP - C++

                L Offline
                L Offline
                liming
                wrote on last edited by
                #7

                yes, i can't resize the form after hide tile bar in runtime, i know ur means,and code it easily in VC++,but u can give me the code in C# , i dont know well C#. thankx very much! :) d

                C 1 Reply Last reply
                0
                • L liming

                  yes, i can't resize the form after hide tile bar in runtime, i know ur means,and code it easily in VC++,but u can give me the code in C# , i dont know well C#. thankx very much! :) d

                  C Offline
                  C Offline
                  Christian Graus
                  wrote on last edited by
                  #8

                  It seems there is one property - formborderstyle, and sizable is one option, none is another. The only option I can think of is the one I gave - make it none, and then code the sizing part yourself. Christian Graus - Microsoft MVP - C++

                  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