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. Menu item, with sub-menu, that MUST be clicked, not hover

Menu item, with sub-menu, that MUST be clicked, not hover

Scheduled Pinned Locked Moved Windows Forms
tutoriallearning
4 Posts 3 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.
  • N Offline
    N Offline
    Nigel Mackay
    wrote on last edited by
    #1

    I can't find an example of this in any of my books, or the examples in the forum. I am talking of course, about a menu item that shows an ellipsis, not the blocked in > sign, that must be clicked before the sub-menu appears.

    L L 2 Replies Last reply
    0
    • N Nigel Mackay

      I can't find an example of this in any of my books, or the examples in the forum. I am talking of course, about a menu item that shows an ellipsis, not the blocked in > sign, that must be clicked before the sub-menu appears.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Nigel Mackay wrote:

      I can't find an example of this in any of my books, or the examples in the forum.

      Because it's non-standard behaviour. How would the user know that he/she needs to click the item, when the standard behaviour is hovering? In other words, people are used to putting their car into reverse when they want to drive into that direction. Your "reverse" gear will work differently from what the user expects.

      Nigel Mackay wrote:

      I am talking of course, about a menu item that shows an ellipsis, not the blocked in > sign, that must be clicked before the sub-menu appears.

      Could be done by adding the sub-items in the click-event, but that might be interpreted as a "choice" and might hide the item alltogether.

      I are Troll :suss:

      1 Reply Last reply
      0
      • N Nigel Mackay

        I can't find an example of this in any of my books, or the examples in the forum. I am talking of course, about a menu item that shows an ellipsis, not the blocked in > sign, that must be clicked before the sub-menu appears.

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

        You can simply add three periods to the text of the menu item, then handle the menu item click like you always do, with an event handler. The triple period normally indicates a dialog is to be expected, and a Cancel option will be given. So make your handler do that. :)

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


        Happy New Year to all.
        We hope 2010 soon brings us automatic PRE tags!
        Until then, please insert them manually.


        N 1 Reply Last reply
        0
        • L Luc Pattyn

          You can simply add three periods to the text of the menu item, then handle the menu item click like you always do, with an event handler. The triple period normally indicates a dialog is to be expected, and a Cancel option will be given. So make your handler do that. :)

          Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


          Happy New Year to all.
          We hope 2010 soon brings us automatic PRE tags!
          Until then, please insert them manually.


          N Offline
          N Offline
          Nigel Mackay
          wrote on last edited by
          #4

          Of course - no sub-menu items to appear during mouse-pointer "hover"

          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