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

SetFrontProcessWithOptions and NSPanel


  • Subject: SetFrontProcessWithOptions and NSPanel
  • From: Chris Idou <email@hidden>
  • Date: Sun, 31 Jan 2010 16:00:06 -0800 (PST)


I've got a NSPanel HUD that I need to be able to pop up above other applications, but I need to pop only the HUD, and not other windows in my application. So naturally I'm using:

SetFrontProcessWithOptions(&psn, kSetFrontProcessFrontWindowOnly);


However, it still pops up all my windows, and not just the HUD panel. I notice this doesn't happen when it is a regular window. I notice the documentation says that kSetFrontProcessFrontWindowOnly only works for non-floating windows so I've set on the window:


[self.windowsetLevel:NSNormalWindowLevel];
and:
[(NSPanel *)self.window setFloatingPanel:NO];

But to no avail.

Can anybody help?


      __________________________________________________________________________________
Yahoo!7: Catch-up on your favourite Channel 7 TV shows easily, legally, and for free at PLUS7. www.tv.yahoo.com.au/plus7
_______________________________________________

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

  • Prev by Date: Re: Tabbing between cells in a complex control
  • Next by Date: updating NSView on separate thread
  • Previous by thread: Re: WebView Loading Images from Local Filesystem
  • Next by thread: updating NSView on separate thread
  • Index(es):
    • Date
    • Thread