Check if host is the front application

Is there a way to know if the DAW hosting my plugin is the currently active application?

Thanks for any clues.

Yes, there is a static method in juce::Process

isForegroundProcess().

I don’t know what the result would be in latest logic, when the Plugin is loaded into a separate process. I assume it will return false.

Thank you, Daniel!