Re: requestUserAttention:NSInformationalRequest
Re: requestUserAttention:NSInformationalRequest
- Subject: Re: requestUserAttention:NSInformationalRequest
- From: John Stiles <email@hidden>
- Date: Tue, 28 Mar 2006 21:22:47 -0800
Andy Lee wrote:
On Mar 28, 2006, at 8:06 PM, John Stiles wrote:
The docs claim that if I call
[NSApp requestUserAttention:NSInformationalRequest];
then my app's dock icon should bounce for 1 second.
Every time I try it, the dock icon bounces repeatedly, not stopping
until I bring the app frontmost.
Was there an OS change here? Is there some trick?
FWIW, it works for me on 10.4.5. Are you positive you aren't using
NSCriticalRequest anywhere in your app? NSCriticalRequest is zero, so
might you have a typo somewhere causing you to pass an uninitialized
variable to -requestUserAttention:?
My code is identical to what you see above.
I experimented for quite some time and just gave up. It didn't work for me.
Maybe I'll kit up a test case.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden