Re: Bring app to front
Re: Bring app to front
- Subject: Re: Bring app to front
- From: "Adam Gerson" <email@hidden>
- Date: Sat, 14 Jun 2008 22:20:08 -0400
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@hidden> 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 (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