• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Floating window


  • Subject: Re: Floating window
  • From: Finlay Dobbie <email@hidden>
  • Date: Sat, 14 Jun 2003 11:30:18 +0100

On Friday, June 13, 2003, at 01:09 am, it043 wrote:

I am working on a statusBar application that will open a panel. This application only uses 1 .nib file that contains the statusBar's NSMenu and also contains the NSPanel. Everything works great. Except that I would like this panel to be a floating panel in front of all other applications. I have seen how this is done but can not get this to work where the NSPanel does not activate on startup. Has anyone been able to get this to work? If so I would appreciate some help.

You can either do a setWindowLevel to a higher level or just do [NSApp activateIgnoringOtherApps:YES] to bring your app's context to the foreground.

-- Finlay
_______________________________________________
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.

References: 
 >Floating window (From: it043 <email@hidden>)

  • Prev by Date: [OT] Obj-C shortcomings (Was: Re: Subclass)
  • Next by Date: Re: NSApplication delegate not released on quit?
  • Previous by thread: Floating window
  • Next by thread: Re[2]: StartupItems hates me
  • Index(es):
    • Date
    • Thread