• 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: classic floating window behavior?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: classic floating window behavior?


  • Subject: Re: classic floating window behavior?
  • From: Gregory Weston <email@hidden>
  • Date: Sun, 28 Mar 2004 07:08:39 -0500

On Mar 28, 2004, at 1:00 AM, murat wrote:

I just noticed that floating panels in Cocoa that don't hide on
deactivate actually float above the windows of ALL applications.

Back in the good ol' bad ol' days (Mac OS 9 and earlier), floating
windows lived in the application's layer and never floated above any
other apps windows. That's the behavior I need now in Cocoa and I can't
figure out how to get it. Amusingly, a search of the archives resulted
in a lot of queries as to how to get the default behavior (floaters
float above all apps), but not the behavior I'm looking for (my
floaters float above my apps windows, but not others).

I believe this is simply a matter of changing your floating window's class to NSPanel.

<http://developer.apple.com/documentation/Cocoa/Conceptual/WinPanel/ index.html#//apple_ref/doc/uid/10000031i>

G
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: classic floating window behavior?
      • From: m <email@hidden>
  • Prev by Date: Re: Open NSSavePanel in windowDidLoad?
  • Next by Date: AddTrackingRect does not work with two views
  • Previous by thread: Re: classic floating window behavior?
  • Next by thread: Re: classic floating window behavior?
  • Index(es):
    • Date
    • Thread