Re: makeKeyAndOrderFront
Re: makeKeyAndOrderFront
- Subject: Re: makeKeyAndOrderFront
- From: Daniel Child <email@hidden>
- Date: Fri, 09 Dec 2005 10:28:23 -1000
Thanks, Andreas. That fixes the problem.
On Friday, December 9, 2005, at 12:18 AM,
email@hidden wrote:
I am having trouble getting a window to become the frontmost window
on startup.
In a message earlier in another thread you mentioned that you set the
LSUIElement flag.
If you do this, your app will not become frontmost when it is started
or when you order a window front.
(This is a menu-free app, by the way, but I don't think that should
matter.)
Well, it does.
You will have to activate your app 'manually':
[NSApp activateIgnoringOtherApp:YES];
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden