for initialize function I wrote following lines to get dialog window before document window
void initialise (const juce::String & commandLine)
welcomeDialog = new WelcomeDialog(user);
mainWindow = new MainWindow ();
I wonder why focus is not gained by my dialogWindow that show’s welcomDialog ?
I also tried
But that also didn’t bring focus to this dialog ? What might be causing problem gettting focus over this ?
Please suggest what shall be the solution here ?
Thank you all.