• 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: Question about orderFront/orderBack etc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about orderFront/orderBack etc.


  • Subject: Re: Question about orderFront/orderBack etc.
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 20 May 2016 10:13:44 -0700
  • Feedback-id: 167118m:167118agrif8a:167118sH2uCzRXYz:SMTPCORP

On May 20, 2016, at 07:53 , Dave <email@hidden> wrote:
>
> I’m thinking I should call “orderFront” on my fake window when the window in the real app gets focus, but do I need to call “orderBack" or whatever on the window that used to be in front?

It’s not clear what you’re asking. If you “order front” one of your windows, the former front window becomes “2nd from front”. It’s a window *list*, so moving one window within the order affects all the others correspondingly.

OTOH, if there’s a possibility that the order of the “real” windows has *multiple* changes by the time you see the front one change, then surely you need to go through your entire “fake” window list and force them to match, in which case, ‘orderWindow:relativeTo:’ would seem like a better API to use.

_______________________________________________

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: Question about orderFront/orderBack etc.
      • From: Dave <email@hidden>
References: 
 >Question about orderFront/orderBack etc. (From: Dave <email@hidden>)

  • Prev by Date: Re: Need advice on a custom run-loop mode
  • Next by Date: Re: Question about orderFront/orderBack etc.
  • Previous by thread: Question about orderFront/orderBack etc.
  • Next by thread: Re: Question about orderFront/orderBack etc.
  • Index(es):
    • Date
    • Thread