Re: Question about orderFront/orderBack etc.
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