Re: Re: Force app to be key
Re: Re: Force app to be key
- Subject: Re: Re: Force app to be key
- From: "Aychamo Aychamo" <email@hidden>
- Date: Thu, 19 Oct 2006 11:36:25 -0400
Stephen,
That worked. I never in a million years would have even thought to
look there. I still have a lot to learn. Thank you very, very much.
AA
On 10/19/06, Stephen Deken <email@hidden> wrote:
> I'm looking for a method to force my app's window to be on top of all
> other windows, and to be key. I've managed to make it's window be on
> top by using [myWindow setLevel: ] and setting it to the highest
> level.
Try this:
[NSApp activateIgnoringOtherApps:YES];
[myWindow makeKeyAndOrderFront:self];
Stephen Deken
email@hidden
_______________________________________________
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