• 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: runModalForWindow() doesn't re-activate former window upon return
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: runModalForWindow() doesn't re-activate former window upon return


  • Subject: Re: runModalForWindow() doesn't re-activate former window upon return
  • From: Keary Suska <email@hidden>
  • Date: Thu, 25 Aug 2016 11:47:16 -0600

> On Aug 25, 2016, at 9:45 AM, Andreas Falkenhahn <email@hidden> wrote:
>
> Tested it, the window is clearly main and key, this is the debug output:
>
> CHECK: 0x10040b4d0 0x10040b4d0 0x10040b4d0
>
> i.e. [NSApp mainWindow], [NSApp keyWindow] and my NSWindow pointer are
> exactly the same before runModalForWindow() is called.

What are they *after* the modal loop has ended? What happens if you add -orderOut: to the button action method?

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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: runModalForWindow() doesn't re-activate former window upon return
      • From: Andreas Falkenhahn <email@hidden>
References: 
 >Re: runModalForWindow() doesn't re-activate former window upon return (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: runModalForWindow() doesn't re-activate former window upon return
  • Next by Date: Re: runModalForWindow() doesn't re-activate former window upon return
  • Previous by thread: Re: runModalForWindow() doesn't re-activate former window upon return
  • Next by thread: Re: runModalForWindow() doesn't re-activate former window upon return
  • Index(es):
    • Date
    • Thread