Re: -[NSWindow orderOut:] vs. -[NSWindow performClose:]
Re: -[NSWindow orderOut:] vs. -[NSWindow performClose:]
- Subject: Re: -[NSWindow orderOut:] vs. -[NSWindow performClose:]
- From: Jeff Johnson <email@hidden>
- Date: Wed, 18 May 2011 13:24:52 -0500
On May 17, 2011, at 9:37 PM, Kyle Sluder wrote:
> When the panel is summoned, I want the panel to remember the
> "document" window on whose toolbar item the user clicked, or none if
> the panel was summoned by the menu item. This is because I want to
> bring that window forward when I dismiss the panel, or if the menu
> item was used I will just bring the frontmost document window forward.
I'm not sure I understand why you want to mess with the window ordering. When you dismiss the panel, the window that was previously front becomes front again, no? Isn't that what the user expects?
-Jeff
_______________________________________________
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