• 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: Floating window on top of everything
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Floating window on top of everything


  • Subject: Re: Floating window on top of everything
  • From: Andrew Farmer <email@hidden>
  • Date: Wed, 8 Apr 2009 23:25:38 -0700

On 08 Apr 09, at 08:03, Matt Neuburg wrote:
On Tue, 7 Apr 2009 12:37:05 -0400, Walker Argendeli
<email@hidden> said:
I am making a simple application that consists of a small HUD window
that needs to float above another application.  How do I make it so
that A. it floats above everything, and B. when I switch to another
application, it remains on top.

Search the archives for example code showing how your app can be notified
when an app switch occurs... m.

This isn't necessary, actually. Setting the window's level to NSFloatingWindowLevel or so, and setting it to not hide on deactivate, should be sufficient to make it stay above everything.
_______________________________________________


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: Floating window on top of everything
      • From: Matt Neuburg <email@hidden>
References: 
 >Re: Floating window on top of everything (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Path from NSFileHandle?
  • Next by Date: NSTextView HICocoaView performance
  • Previous by thread: Re: Floating window on top of everything
  • Next by thread: Re: Floating window on top of everything
  • Index(es):
    • Date
    • Thread