Hi Quincey,

> On 20 May 2016, at 18:13, Quincey Morris 
> <[email protected]> wrote:
> 
> On May 20, 2016, at 07:53 , Dave <[email protected] 
> <mailto:[email protected]>> 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.
> 

I *should* see all changes in Window Focus so orderFront should suffice but 
I’ll add some code to check and Assert just in case.

Thanks a lot.

All the Best
Dave
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to