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. WindowsForm Styles too Limited

WindowsForm Styles too Limited

Scheduled Pinned Locked Moved C#
csharpc++wpfquestion
2 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.
  • 3 Offline
    3 Offline
    3green
    wrote on last edited by
    #1

    One of the features stopping us migrating to C# from VC++ is the limited windows form styles. In a VC++ dialog box we can set the dialog box to have no borders and pop-up style. I cant seem to find a way setting a windowsform to have no border in C#/MC++, I wonder if this is possible at all? many thanks

    G 1 Reply Last reply
    0
    • 3 3green

      One of the features stopping us migrating to C# from VC++ is the limited windows form styles. In a VC++ dialog box we can set the dialog box to have no borders and pop-up style. I cant seem to find a way setting a windowsform to have no border in C#/MC++, I wonder if this is possible at all? many thanks

      G Offline
      G Offline
      Gary Thom
      wrote on last edited by
      #2

      this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; You can set it through the properties or in code as above, valid styles are: Fixed3D :A fixed, three-dimensional border. FixedDialog : A thick, fixed dialog-style border. FixedSingle : A fixed, single line border. FixedToolWindow : A tool window border that is not resizable. None " No border. Sizable : A resizable border. (Default) SizableToolWindow : A resizable tool window border. Gary "A fellow with the inventiveness of Albert Einstein but with the attention span of Daffy Duck." Tom Shales talking about Robin Williams

      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