Non-Modal Window that Stays in front of other windows


#1

Hello,

 

Does anyone know how to create a non-modal window that stays in front of other windows? Basically, I want somebody to be able to set options in one window, but select stuff in the other without the options window disappearing behind the main window once clicking on the main window.

 

In the juce demo, the only windows I see that always stay in front are modal...

 

Thanks!

 

Brad


#2

Component::setAlwaysOnTop()


#3

Hi Jules,

When I use setAlwaysOnTop() the window stays in front of the windows of other programs, even if the other programs take focus. Is there an easy way to make sure one window is always in front of other windows in my app, however, they don’t block the windows of other windows apps??

Thanks!


#4

This has been discussed to death recently, see Something between AlwaysOnTop and normal windows