• 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
Activating application raises windows meant to be invisible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Activating application raises windows meant to be invisible


  • Subject: Activating application raises windows meant to be invisible
  • From: David Reitter <email@hidden>
  • Date: Thu, 27 May 2010 08:44:49 -0400

How can I keep invisible windows invisible when my application is raised?

My application can end up with only one NSWindow "A" that is invisible ([NSWindow orderOut]).  This window is the key window.  The application may also have other windows ("B") that are iconified.

I find that when switching back to the application, window A is always made visible (provided I am on the same Space as the window).  How do I control that?
I would get my application to de-iconify B instead.

Window A is raised even before my applicationShouldHandleReopen:hasVisibleWindows: are applicationDidBecomeActive: are sent.  I have also unsuccessfully tried to implement [NSWindow orderFront] to override the behavior.

How would I got about keeping the window hidden?

Thanks for your help._______________________________________________

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: Activating application raises windows meant to be invisible
      • From: Reinhard Segeler <email@hidden>
    • Re: Activating application raises windows meant to be invisible
      • From: Peter Ammon <email@hidden>
  • Prev by Date: Re: isKindofClass with NSData and NSKeyUnarchiver
  • Next by Date: Re: subclass overwriting superclass ivar
  • Previous by thread: Re: Logging in ad-hoc builds
  • Next by thread: Re: Activating application raises windows meant to be invisible
  • Index(es):
    • Date
    • Thread