Hi all. I'm making a little app, and wanted a message to pop up each time it's loaded.
I used the NSRunAlertPanel to raise a dialog with an OK button. No problem.
But for some reason, when the Alert panel closes, the focus doesn't go to the mainWindow as it does when the NSRunAlertPanel line isn't there.
Where is my focus going?
I've tried calling [mainWindow orderFrontRegardless]; to no avail.
Any ideas?
Thanks.
I used the NSRunAlertPanel to raise a dialog with an OK button. No problem.
But for some reason, when the Alert panel closes, the focus doesn't go to the mainWindow as it does when the NSRunAlertPanel line isn't there.
Where is my focus going?
I've tried calling [mainWindow orderFrontRegardless]; to no avail.
Any ideas?
Thanks.