OK, that worked great! I implemented -awakeFromNib in the first responder
class:
- (void)awakeFromNib
{
[sessionWindow makeKeyAndOrderFront: self];
}
and that did the trick. Next problem: sometimes when I do NSAlert sheets
the NSAlert does not have focus. I am closing a sheet that was previo
Read the Docs on NSWindow then try makeKeyAndOrderFront:
atze
Am 19.02.2009 um 18:54 schrieb doc.aron...@gmail.com:
Hello,
I am programmatically launching a window that is defined in a XIB
file using the following statement:
[NSBundle loadNibNamed:@"MyNibFile" owner:anObject];