If there are several windows with AlwaysOnTop set to true, which one shows up on top?
More specifically - I have a VST plugin (which is AlwaysOnTop), which occasionally displays a messagebox (on the desktop).
the messageBox is set to be alwaysOnTop, and I do a toFront() in the constructor.
nonetheless - it’s not on top. What am I missing here?
jules
2
Maybe the window isn’t actually on-screen at the point when you call toFront() ?
I also call toFront() every time it paints though.
It works fine when not in a plugin - something about the plugin window seems to also end up bringing it to the front perhaps?
jules
4
oh yes, in a plugin all bets are off - the host is in control there.
Aha - I thought that might be the case, thanks.