Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Progress bar will not update.




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

_______________________________________________
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

This email sent to email@hidden
References: 
 >Progress bar will not update. (From: Julie Porter <email@hidden>)



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.