• 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: fabian <email@hidden>
  • Date: Thu, 25 Mar 2010 20:52:13 +0100

Sorry for being unclear. I want NSApp to behave normally, i.e. when the user
hides it (with Command+H) the menu bar and all windows _except this one
window_ should hide. I do know when this floating window is supposed to be
on screen and when it's not; it's displayed for a few seconds in response to
a hotkey - but I don't want to have to delay the hiding of NSApp until the
window has been ordered out (if the user decides to hide it when the window
is on screen). I hope this clarifies my goal.

On Thu, Mar 25, 2010 at 8:37 PM, Knut Lorenzen <email@hidden> wrote:

>
> 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: Jens Alfke <email@hidden>
    • Re: Prevent NSWindow from hiding with app
      • From: Knut Lorenzen <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>)
 >Re: Prevent NSWindow from hiding with app (From: Knut Lorenzen <email@hidden>)

  • Prev by Date: Re: Prevent NSWindow from hiding with app
  • 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