I can’t see anything in the docs. Pretty simple task, how can I check if the mouse is currently over a given popupMenu?
Maybe you can use
MouseInputSource::getComponentUnderMouse() combined with a
I like your thinking, but PopupMenu doesn’t inherit from Component from what I can see.
Oh right… Looks like its shown with a
MenuWindow-component, but this class is hidden away in the
juce_PopupMenu.cpp, so I guess that’s not really an option
Yeah, this seems like a weirdly limiting factor in the API. @reuk would it be trivial to get some mouse state functionality built into this class? Even something like
getScreenBounds() would suffice and we can hit test from there.