I have a menu bar in a DialogWindow, which uses the setUsingNativeTitleBar to get a native look on all platforms.
If I click on a menu item, the menu appears, but if I click on the top of the window and move the window, instead of disappearing, the menu floats in place while the window under it moves freely.
I just tried setting usingNativeTitleBar() in the juce demo, and voila! The menu disappears when you move the window with the menu showing.
So, I must be missing an important piece of code somewhere. What’s the
secret to making that work?