> On Aug 25, 2016, at 9:45 AM, Andreas Falkenhahn <andr...@falkenhahn.com> > 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 (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com