Menustrip (.NET2) and mouse selection behavior

I'd like to mimic XP mouse selection behavior using the new Menustrip but haven't found anything in docs.

By default in Menustrip, mouse left button, must be released before selecting a menu item. Similary, if left button been pressed and released over a mouse item, doesn't fire the clicked event.

Any idea how can menustrip work like VS/Office/XP native menu control



Answer this question

Menustrip (.NET2) and mouse selection behavior

  • wall

    It looks that is a bug. I was ready to report it when I found a previous bug report and MS confirmation.

    PS: Too many bugs in WinForms 2, that was the fourth I've found in two days.

  • Netzach

    Thanks for the answer Mike, let me explain my question...

    The usual menu behavior in VS/Office/XP allows to move mouse over an opened menu, while left button is pressed. Releasing mouse over the selected item, fires the clicked event.
    In Menustrip, I have to select menu - release mouse - move over opened menu and click the desired item to fire the event.


  • kmcdermott

    I don't get this. VS/Office/XP selects a menu item after you release the mouse button and so do other controls: buttons, check boxes and radio buttons.
    No matter what i've tried the MenuStrip behaves indentically in this respect.

    Am I missing something

  • Sohail Aslam

    Ahh... missed that Smile
    I think this is a bug... maybe you should file a bug report.


  • Menustrip (.NET2) and mouse selection behavior