NSProgressIndicator updating
NSProgressIndicator updating
- Subject: NSProgressIndicator updating
- From: Eric Long <email@hidden>
- Date: Wed, 09 Mar 2005 17:00:13 -0800
Hi,
I'm told this issue has been discussed before, but I haven't found it, so
I'm bringing it up again.
I have a window with a progress bar in it that only appears when there is
activity. Activity is generally swift to complete, but not always. When an
operation begins, I show the bar, and increment it while the operation
progresses. At the end, I ensure the progress current value and max value
are set to match. Then I re-hide the progress bar.
Ideally, I'd like the user to see the progress bar full for at least a split
second, but the internal Cocoa thread mechanism that actually does the
progress bar drawing never quite catches up before the progress bar is
hidden. So, the user sees a progress bar with a small portion filled, then
it disappears.
Calling [myProgress display] has little or no effect.
How can I force the Cocoa drawing thread to update the display immediately?
Any ideas?
I just want the user to see that split second full progress.
Thanks,
Eric Long
___________________________________________________________________________
Macintosh Software Engineer
Allume Systems, Inc. http://www.allume.com
245 Westridge Drive, Watsonville, CA 95076 (831) 761-6200 x628
N 36° 54.768 W 121° 46.990
Matt. 11:28
_______________________________________________
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