I want to display an Dialog that use the Native View. I referred juce demo and get the code from that. But unable to view this while on click
AlertWindow w (“AlertWindow demo…”,
“This AlertWindow has a couple of extra components added to show how to add drop-down lists and text entry boxes.”,
AlertWindow::NoIcon);w.addTextEditor ("text", "enter some text here", "text field:"); w.addButton ("OK", 1, KeyPress (KeyPress::returnKey, 0, 0)); w.addButton ("Cancel", 0, KeyPress (KeyPress::escapeKey, 0, 0)); w.getLookAndFeel().setUsingNativeAlertWindows(true);