I’m trying to figure out the right way to make a dialog box that displays a custom component and for the life of me, i just can’t get it to show up. What’s the right way to create a dialog box that has a customized view (possibly a TreeView? ) that will block interaction with the main app window, similar to how AlertWindows operate?
This code here shows the popup but it doesn’t put this custom component inside the AlertWindow dialog box.
customComponent = new CustomComponent(); AlertWindow::showOkCancelBox(AlertWindow::AlertIconType::NoIcon, "CustomView", "", "Select", "Cancel", customComponent);
I didn’t see an example in the JuceDemo that has this behavior… Think of the “Bounce Session” window in Logic…