Making My Movable Modals Modeless?


#1

Alright I see plenty about operating my modal dialog (i.e. Component::runModalLoop) but if I have a DialogWindow, how do I get it on the screen and make it act modal (user can’t switch to other windows) but in a modeless way, i.e. returning back to the main message loop?

This is a regular tabbed settings dialog with an OK, Cancel, and Apply button.


#2

Can’t you just call enterModalState() ?


#3

Ah ok that works great! I guess I was confused about when to leave the modal state but it seems that if the window is deleted or becomes hidden, Juce takes care of it!