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 protected]
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to