Important: The information in this document is obsolete and should not be used for new development.
SetAmountTotal
Sets a value representing the total amount of work to be completed by an asynchronous process.
void SetAmountTotal (in long amtTotal, in CyberProgressBroadcaster broadcaster);
amtTotal
- The total amount to be done by the process.
broadcaster
- The progress broadcaster broadcasting the change.
DISCUSSION
This method is called by theCyberProgressBroadcaster::SetAmountTotal
method to broadcast a new total amount value to all progress receivers attached to the broadcaster. The amount done, set by theSetAmountDone
method, is specified relative to the total amount as set by theSetAmountTotal
method.The value in the
amtTotal
parameter is a numeric indication of the total amount of work to be performed. For example, consider the process of downloading 200 bytes of data. In this case, the total amount is 200.If you subclass
CyberProgressReceiver
, you must override this method. Your override must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheCyberProgressBroadcaster::SetAmountTotal
method (page 309).