• 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: Prevent NSWindow from hiding with app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prevent NSWindow from hiding with app


  • Subject: Re: Prevent NSWindow from hiding with app
  • From: Knut Lorenzen <email@hidden>
  • Date: Thu, 25 Mar 2010 20:37:32 +0100

Am 25.03.2010 um 19:44 schrieb fabian:

> Thanks, but the "Hide on Deactivate" option only works when NSApp is
> deactived, not hidden (as in Command+H). The window I want to stay on screen
> is a system wide icon window like the one you see when adjusting screen
> brightness, so it's most definitely the expected behavior from a user
> perspective.

It is still unclear to me, what exactly you want to accomplish. Is your app notified in any way if it needs to display the window (say, by a keydown, like the brightness control you have mentioned)?

Perhaps [NSApp activateIgnoringOtherApps: YES]; would be useful then? Again, I (we?) don't understand precisely what you actually want to do.

Cheers,

Knut

_______________________________________________

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: Prevent NSWindow from hiding with app
      • From: fabian <email@hidden>
References: 
 >Prevent NSWindow from hiding with app (From: fabian <email@hidden>)
 >Re: Prevent NSWindow from hiding with app (From: Joanna Carter <email@hidden>)
 >Re: Prevent NSWindow from hiding with app (From: fabian <email@hidden>)

  • Prev by Date: iPhone movie timestamp
  • Next by Date: Re: Prevent NSWindow from hiding with app
  • Previous by thread: Re: Prevent NSWindow from hiding with app
  • Next by thread: Re: Prevent NSWindow from hiding with app
  • Index(es):
    • Date
    • Thread