You can possibly solve this problem by subclassing the HUD NSPanel and
returning YES in -canBecomeMainWindow.

-Steven

On Sun, Jan 31, 2010 at 7:00 PM, Chris Idou <idou...@yahoo.com> wrote:

>
>
> 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 (Cocoa-dev@lists.apple.com)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com
>
> This email sent to steven.degu...@gmail.com
>



-- 
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to