| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Eric Schlegel wrote:
Thanks; that worked. I had to change the code slightly as updating after every scanline was rather slow. The old Quickdraw code updated the progress in blocks. Moving the HIWindowFlush outside the loop made for a faster file load. So that is working much better.
On Nov 26, 2007, at 8:34 PM, Julie Porter wrote:
Using sample code I got here a few weeks back, I re-wrote the progress dialog to use HIView calls. I get the dialog which shows up not highlighted. My calls to SetControl32BitValue are not causing any update to the bar in the dialog. It always looks un selected. No progress is indicated
If your nib-based dialog window uses compositing mode (which it probably does, since I think that's the default for new windows in IB now), you need to call HIWindowFlush after calling SetControl32BitValue. You don't need to call UpdateControls.
-eric
-julie
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden
| References: | |
| >Progress bar will not update. (From: Julie Porter <email@hidden>) | |
| >Re: Progress bar will not update. (From: Eric Schlegel <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.