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. How to get parent MenuItems to respond to Click event?

How to get parent MenuItems to respond to Click event?

Scheduled Pinned Locked Moved Windows Forms
comtutorialquestion
2 Posts 2 Posters 2 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.
  • R Offline
    R Offline
    Rick Bidlack
    wrote on last edited by
    #1

    Regarding System:Windows:Forms:MenuItem The Click event is not raised for MenuItems which contain a submenu -- see Note in the Remarks section of MSDN documentation. Has anyone found a way to override this? Does anyone have an explanation for this feature?

    Rick Bidlack www.signalsandnoises.com

    C 1 Reply Last reply
    0
    • R Rick Bidlack

      Regarding System:Windows:Forms:MenuItem The Click event is not raised for MenuItems which contain a submenu -- see Note in the Remarks section of MSDN documentation. Has anyone found a way to override this? Does anyone have an explanation for this feature?

      Rick Bidlack www.signalsandnoises.com

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Rick Bidlack wrote:

      Has anyone found a way to override this?

      This is not an override, but a well documented API: The following events may be of interest: * DropDownOpened * DropDownOpening * DropDownClosed * DropDownItemClicked


      Upcoming events: * Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ... * Reading: Developer Day 5 Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website

      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