I need a way to tell whether the Application Menu of a Fusion app is currently open. Surely there must be a method for this, but there doesn't seem to be a native condition for it. Does anyone know of how to achieve this?
So, my application has various interface elements, such as this button:
Please login to see this picture.
The problem is that these interface elements continue to work when the Application Menu is being used. So, if I move the mouse over the menu item View>Wheel and click, it will select the button that is underneath that menu item:
Please login to see this picture.
I need some way to detect whether the menu is open so that I can pause various bits of code while it's open. Incidentally, I tried using the Advanced Menu Object instead of the native Application Menu, but I ran into the same problem there. The Advanced Menu Object lets you detect whether a particular item has just been rolled over, but there seems no way to detect when you have rolled off it, or when the menu has closed.