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


GetProgressPercent

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

void GetProgressPercent (out short percentDone);
percentDone
The percentage of the process that has been completed.
DISCUSSION
You can call the GetProgressPercent method to determine the percentage of the process that has been completed. For example, consider the process of downloading 200 bytes of data. If you have downloaded 100 bytes, 50% has been completed.

GetProgressPercent returns the last value set by the SetProgressPercent method or 0 if SetProgressPercent has not been called since the object was initialized or reset.

SEE ALSO
The GetAmountDone method (page 302).
The GetAmountTotal method (page 303).
The SetAmountDone method (page 308).
The SetAmountTotal method (page 309).
The SetProgressPercent method (page 311).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996