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];
where MyNibFile is the name of the XIB file and anObject is the
object that gets designated as the "File's owner". However, the
window does not have focus when I open it. How do I make that window
open in the foreground?
Thanks,
Leo
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/atze%40freeport.de
This email sent to a...@freeport.de
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com