I’m doing a custom key handler with registerKey, and would like to show a menu in response. Calling menu.show() works, but doesn’t position the menu properly below the menubar unless the menu has previously been show by actually clicking the menu button in the menu bar. I expected to find a function like MenuBar.PostMenu(menuNum) or MenuBar.getMenu(0).showMenu(), but couldn’t find anything.
Is there any easy way show a menu without clicking on it?
I am interested with this issue too, as I am looking to control the menu using mouseover and mouseout
When triggering the menu with mouseover, submenus show on the far left of the screen instead of being under the button.
But once clicking on the menubutton, the menu shows at the right place.