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. Menu and separator

Menu and separator

Scheduled Pinned Locked Moved C#
c++tutorial
6 Posts 5 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.
  • T Offline
    T Offline
    tomiga
    wrote on last edited by
    #1

    Hi, How to create separtor line in menu. (like in Visual C++)

    A 1 Reply Last reply
    0
    • T tomiga

      Hi, How to create separtor line in menu. (like in Visual C++)

      A Offline
      A Offline
      AndyG
      wrote on last edited by
      #2

      neatSeparatorMenuItem.Text = "-"; Andy Gaskell, MCSD MCDBA

      D T 2 Replies Last reply
      0
      • A AndyG

        neatSeparatorMenuItem.Text = "-"; Andy Gaskell, MCSD MCDBA

        D Offline
        D Offline
        Domenic Denicola
        wrote on last edited by
        #3

        Does anyone else think this is an evil way to create separators, or is it just me? I was thinking more along the lines of a MenuItemCollection.AddSeparator() method, or perhaps a class MenuSeparator derived from MenuItem. Dunno if I got those names right, because I'm away from my dev computer -- stuck on this miserable vacation :mad: Anyways, I'd be interested in other people's thoughts on this issue.

        -Domenic Denicola- [CPUA 0x1337] MadHamster Creations "I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."

        E 1 Reply Last reply
        0
        • D Domenic Denicola

          Does anyone else think this is an evil way to create separators, or is it just me? I was thinking more along the lines of a MenuItemCollection.AddSeparator() method, or perhaps a class MenuSeparator derived from MenuItem. Dunno if I got those names right, because I'm away from my dev computer -- stuck on this miserable vacation :mad: Anyways, I'd be interested in other people's thoughts on this issue.

          -Domenic Denicola- [CPUA 0x1337] MadHamster Creations "I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."

          E Offline
          E Offline
          Eric Gunnerson msft
          wrote on last edited by
          #4

          I think it's evil.

          S 1 Reply Last reply
          0
          • E Eric Gunnerson msft

            I think it's evil.

            S Offline
            S Offline
            SimonS
            wrote on last edited by
            #5

            Eric Gunnerson (msft) wrote: I think it's evil. :laugh: Nice one, Eric. I'd be interested what your recommendation was/would have been for this. Cheers, Simon "Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)

            1 Reply Last reply
            0
            • A AndyG

              neatSeparatorMenuItem.Text = "-"; Andy Gaskell, MCSD MCDBA

              T Offline
              T Offline
              tomiga
              wrote on last edited by
              #6

              I am afraid that looks horrible :(

              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