Re: Activate app but bring only *one* window to the front
Re: Activate app but bring only *one* window to the front
- Subject: Re: Activate app but bring only *one* window to the front
- From: Kyle Sluder <email@hidden>
- Date: Wed, 29 Jun 2011 10:11:54 -0700
On Wed, Jun 29, 2011 at 10:07 AM, Jerry Krinock <email@hidden> wrote:
> • App is running with several windows open but is not frontmost.
> • It receives an interapplication message which requires that a new window be opened and brought to the front.
>
> -[NSApplication activateIgnoringOtherApps:] brings *all* of app's windows to the front.
>
> How can I activate this app but bring *only* the new window to the front? Other windows should remain at their current order.
Never tried it, but +[NSRunningApplication activateWithOptions:] looks
promising.
--Kyle Sluder
_______________________________________________
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