• 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: Kyle Sluder <email@hidden>
  • Date: Wed, 18 May 2011 11:35:15 -0700

On Wed, May 18, 2011 at 11:24 AM, Jeff Johnson
<email@hidden> wrote:
> 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?

I meant "dismiss by clicking the OK button." So perhaps "confirm"
would be a better choice.

Basically, I want to support clicking the "Add Item" button in Window
A, switching to Window B to look up some relevant information,
entering the information into the New Item Panel, then clicking OK.
That should create the new item in Window A's sidebar and bring Window
A to the front.

--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

  • Follow-Ups:
    • Re: -[NSWindow orderOut:] vs. -[NSWindow performClose:]
      • From: Jeff Johnson <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>)
 >Re: -[NSWindow orderOut:] vs. -[NSWindow performClose:] (From: Jeff Johnson <email@hidden>)

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