The problem at hand is the menubar keeps rebuilding when other events occur in the application. These refreshes need to occur since menu items in the menubar need to match the changes taking place.
However, I do not want the menu to rebuild when it is opened by the user since many menu rebuilds that occur in a short space of time cause the menu to flash. From what I can tell, there are no event handlers triggered when a menu item such as ‘File’ gains/loses focus.
When the user interacts with the menubar I would like to block the menu from rebuilding (updating) until the user clicks off the menubar.
Thanks!