Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberProgressBroadcaster


SetProgressPercent

Sets the percentage of an asynchronous process that has been completed.

void SetProgressPercent (in short percentDone);
percentDone
The percentage of the process that has been completed.
DISCUSSION
You can call the SetProgressPercent method to set the percentage of a process that has been completed and broadcast the change to all attached progress receivers. For example, consider the process of downloading 200 bytes of data. If you have downloaded 100 bytes, 50% has been completed.

If you subclass CyberProgressBroadcaster and override this method, your override must call its inherited method.

SEE ALSO
The GetAmountDone method (page 303).
The GetAmountTotal method (page 303).
The GetProgressPercent method (page 305).
The SetAmountDone method (page 308).
The SetAmountTotal method (page 309).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996