Re: Open window from nib in foreground
Re: Open window from nib in foreground
- Subject: Re: Open window from nib in foreground
- From: Alexander Spohr <email@hidden>
- Date: Thu, 19 Feb 2009 19:01:17 +0100
Read the Docs on NSWindow then try makeKeyAndOrderFront:
atze
Am 19.02.2009 um 18:54 schrieb email@hidden:
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 (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden