I am just starting out with Juce and am having trouble. Doxygen gives a log of info but sometimes not enough for me and I have not been able to find examples of what I want to do. (This is windows and my only windows experience is with MFC).
I started with the “Hello World” example code. I was able to add sliders, button, text, etc to the box and capture the expected inputs. But now I want click a button that opens a dialog box with sliders and buttons on it.
I assume trying to use DialogWindow to do this. First I created and new class derived from DialogWindow. In the constructor I add the controls. Then in MainComponent::buttonClicked, I do the following:
MyDlg *y = new ChannelDlg(x, Colour(0xffeedd), true); y->showDialog("Hi",y,y,Colour(0xffeedd),true);
This renders a dialog box that is transparent and has no controls. Since doxygen says do not use showDialog I tried to use launchOptions with no success either.
Is there any sample code or tutorial that creates a modeless dialog box started from another dialog and uses the launchOptions?. (I case I have a different understanding of modeless what I mean is the original window that opened the dialog box is still responsive and can take input.