Thanks Andy. Kyle, you make a good point. It dangerious to allow an
app to annoy the user. I am building a menu extra that always shows up
in the menu bar, but its icon is hidden from the dock and is never
consider front by the OS. When these choose an item from my menu it
cuases a window to open (a window the user wants open and in the
front), but sometimes it appears hidden behind other windows. Thats
why I asked this question.


Adam



On Sun, Jun 8, 2008 at 11:22 PM, Andy Lee <[EMAIL PROTECTED]> wrote:
> On Jun 8, 2008, at 11:06 PM, Kyle Sluder wrote:
>>
>> Why would you want to do this?  It's annoying enough that in Windows
>> XP Microsoft disabled this functionality.  If you want to get the
>> user's attention, the bouncing dock icon is a very good indication.
>
> I agree in most cases, but in case you have an exceptional situation
> (something like Growl or FlexTime, for example), you might look at
> -activateIgnoringOtherApps: in NSApplication or -setLevel: in NSWindow.
>
> --Andy
>
>
>
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to