||Adding Spit and Polish to Your Cocoa App|
|Subject:||AboutBox focus problem|
I have a problem with the about box.
the [aboutWindow makeKeyAndOrderFront:nil]; in the showAboutPanel method (which I put in the AppController.m) statment seems to have no effect: no panel displays. I get into the method as I verified with a simple printf() to stdout.
I set "visible at launch time" in the window attributes of the about panel; this makes a window appear, but without focus. I presume so that the nib loads correctly, there is another glitch.
Is it me missing something?