SetFrontProcessWithOptions and NSPanel
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