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

Re: Activating application raises windows meant to be invisible


  • Subject: Re: Activating application raises windows meant to be invisible
  • From: Reinhard Segeler <email@hidden>
  • Date: Sun, 30 May 2010 11:04:12 +0200

There are several delegate methods for NSApplication, e.g. applicationWillUnhide and NSWindow e.g. windowWillResize:toSize:, etc. If you override them, you should be to intervent the displaying of a window by ordering out or iconizing them again...
-- Reinhard


Am 27.05.2010 um 14:44 schrieb David Reitter:

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

_______________________________________________

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


References: 
 >Activating application raises windows meant to be invisible (From: David Reitter <email@hidden>)

  • Prev by Date: Re: Stealing settings from Mail.app
  • Next by Date: example of a NSScrollView where scrolling is overridden ?
  • Previous by thread: Re: Activating application raises windows meant to be invisible
  • Next by thread: behavior of -copy
  • Index(es):
    • Date
    • Thread