Hi,
I am new user of JUCE … I am very keen on using it because of its cross platform compatibility.
I have a Webkit & a NPAPI plugin. In these plugins I need to add some UI which involves some dialog boxes , alert boxes etc.
I started by trying to show a simple Message Box using the AlertWindow::showMessageBox static method.
I just added the following 2 lines of code:
LookAndFeel::setDefaultLookAndFeel(NULL);
AlertWindow::showMessageBox(AlertWindow::InfoIcon, “msg1”,“msg2”,“ok”,NULL);
After doing this the message box shows up.
But when I click on the ‘ok’ button on the message box, it doesn’t get closed.
Looks like I need to some initial setup to get the callbacks working … But not sure how to be done…
Any suggestions on how I can get this working ?
NOTE: The NPAPI plugin wasn’t built using JUCE framework …
Thanks.