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. Windows Forms
  4. Form with FormBorderStyle=FixedToolWindow && No close button [modified]

Form with FormBorderStyle=FixedToolWindow && No close button [modified]

Scheduled Pinned Locked Moved Windows Forms
comhelp
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.
  • K Offline
    K Offline
    King Balkoth
    wrote on last edited by
    #1

    Hi code project members, as the title says i want to achieve the following mockup (link to my skydrive, sfw): FixedToolWindow_WithNoCloseButtonMockup[^] I tried lots of possible solutions, like removing the menuitem through interop, setting Form.ControlBox to false, but either the close button is still visible, or the formborderstyle changes to one with round egdes. I definitely would like to create one with the nice rectangular fixedtoolwindow style without all the os provided buttons. If someone could help me out here, because im kind of lost here. Thanks in advance. Balkoth.

    modified on Tuesday, August 3, 2010 12:44 PM, to fix the new window link

    L K 2 Replies Last reply
    0
    • K King Balkoth

      Hi code project members, as the title says i want to achieve the following mockup (link to my skydrive, sfw): FixedToolWindow_WithNoCloseButtonMockup[^] I tried lots of possible solutions, like removing the menuitem through interop, setting Form.ControlBox to false, but either the close button is still visible, or the formborderstyle changes to one with round egdes. I definitely would like to create one with the nice rectangular fixedtoolwindow style without all the os provided buttons. If someone could help me out here, because im kind of lost here. Thanks in advance. Balkoth.

      modified on Tuesday, August 3, 2010 12:44 PM, to fix the new window link

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      AFAIK the only ones you can get right away are shown here[^]. If you need something else, you'll have to do all the painting, i.e. client AND non-client parts. :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

      Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

      modified on Tuesday, August 3, 2010 7:12 AM

      K 1 Reply Last reply
      0
      • L Luc Pattyn

        AFAIK the only ones you can get right away are shown here[^]. If you need something else, you'll have to do all the painting, i.e. client AND non-client parts. :)

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

        Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

        modified on Tuesday, August 3, 2010 7:12 AM

        K Offline
        K Offline
        King Balkoth
        wrote on last edited by
        #3

        Thanks for your help, i was hoping that there was something which i haven't yet discovered to do the magic trick.

        1 Reply Last reply
        0
        • K King Balkoth

          Hi code project members, as the title says i want to achieve the following mockup (link to my skydrive, sfw): FixedToolWindow_WithNoCloseButtonMockup[^] I tried lots of possible solutions, like removing the menuitem through interop, setting Form.ControlBox to false, but either the close button is still visible, or the formborderstyle changes to one with round egdes. I definitely would like to create one with the nice rectangular fixedtoolwindow style without all the os provided buttons. If someone could help me out here, because im kind of lost here. Thanks in advance. Balkoth.

          modified on Tuesday, August 3, 2010 12:44 PM, to fix the new window link

          K Offline
          K Offline
          King Balkoth
          wrote on last edited by
          #4

          Hi members. This is the preview, for what i was trying to achieve the effect. Thanks for your attention. Greets Balkoth

          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