• 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 21:46:32 +0100

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

>
> So why not use [NSApp activateIgnoringOtherApps: YES], do all the stuff you
> need to do and finally use [NSApp deactivate] to resign control?
>
> I don't need to activate the app to display a window with a level higher
than NSNormalWindowLevel. This works fine even when the app is hidden. The
only problem is the situation described above, when the app is frontmost and
the user actively decides to hide it. Then all visible windows are ordered
out (by NSApp, I presume, or perhaps the window manager? I haven't really
looked into this yet).

As for it not being possible, that's what I'm thinking too, as my googling
has lead to nothing. But I figured it was worth asking anyhow, in case there
is some snazzy method in NSApp I'm not aware of that I can override.

-F
_______________________________________________

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: 
 >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>)
 >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