if(![[NSApplication sharedApplication] isActive])
[[NSApplication sharedApplication]
requestUserAttention:NSInformationalRequest];
Try that. :)
On Aug 18, 2009, at 6:49 PM, Graham Cox wrote:
Can someone point me in the right direction of the docs for getting
my app icon bouncing?
I have a dialog that needs to ask for attention if the app is not
active, and it's not happening automatically. Hmmm, maybe that's the
problem I should be looking into...?
--Graham
_______________________________________________
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/bryscomat%40gmail.com
This email sent to brysco...@gmail.com
_______________________________________________
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