
Signature
"My Break-Dancing days are over, but there's always the Funky Chicken"
--The Full Monty
Windows is already on top of all! OS X is dead with it's 2% market share.
LOL@ Mactards!
> I have an NSStatusItem and I would like for its prefs window (NSWindow
> not an NSPanel) to appear above all others when shown. Instead, it will
> appear behind whatever window is currently the key window. How do I make
> mine appear above all?
The best solution is probably to make the application that owns the
status item the active application:
[NSApp activateIgnoringOtherApps:YES];
[preferenceWindow makeKeyAndOrderFront:nil];
'normal' programs are already active when the user clicks a menu item,
but that is not the case with status items.
patrick
Lorenzo - 18 Jun 2007 01:18 GMT
> [NSApp activateIgnoringOtherApps:YES];
Thanks, that's it. I guess because its not a 'normal' application, I
didn't think to look at the NSApplication class.

Signature
"My Break-Dancing days are over, but there's always the Funky Chicken"
--The Full Monty