• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -[NSWindow orderOut:] vs. -[NSWindow performClose:]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: -[NSWindow orderOut:] vs. -[NSWindow performClose:]
      • From: Kyle Sluder <email@hidden>
References: 
 >-[NSWindow orderOut:] vs. -[NSWindow performClose:] (From: Kyle Sluder <email@hidden>)
 >Re: -[NSWindow orderOut:] vs. -[NSWindow performClose:] (From: Jeff Johnson <email@hidden>)
 >Re: -[NSWindow orderOut:] vs. -[NSWindow performClose:] (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: XML Resource Release
  • Next by Date: Re: -[NSWindow orderOut:] vs. -[NSWindow performClose:]
  • Previous by thread: Re: -[NSWindow orderOut:] vs. -[NSWindow performClose:]
  • Next by thread: Re: -[NSWindow orderOut:] vs. -[NSWindow performClose:]
  • Index(es):
    • Date
    • Thread