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: Scott Ribe <email@hidden>
- Date: Thu, 30 Jun 2011 15:22:00 -0600
On Jun 30, 2011, at 2:39 PM, Jerry Krinock wrote:
> However, Cocoa still wins. My purpose was to show an alert-type of window (my own custom version of NSAlert) without bringing forward a document window. Initially, it works, but when the user clicks a button which sends -[NSWindow close] to the alert window, the document window is brought forward, even if I try and tell it "no" by deactivating the app…
That's the way windowing behavior is defined in OS X. When the frontmost regular window is closed, the next window of that app is made frontmost.
Sounds like you need a floating/utility window of some flavor.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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