wodPop3 ActiveX Control - Progress Method
      
 

Description

Called during message retrieval.


Return Type

None  


Syntax

object.Progress Owner, Position, Total



The Progress Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodPopClientNotify.
Owner Required. A wodPop3 object. Reference to wodPop3 component instance that called this method.
Position Required. A Long value. Current pointer position in the message.
Total Required. A Long value. Total number of bytes that will be retrieved.

Remarks

NOTE: This method is called only if you implemented IwodPop3ClientNotify interface in your application, and wodPop3.Notification property has received reference to instance of your implementation.

Progress is a notification method that can called many times by wodPop3 during message retrieval. When full message is downloading (as a result of Get or GetAll methods), Total argument will show how many bytes need to be downloaded. If only headers are downloading (as a result of GetHeaders or GetAllHeaders), Total argument will not show correct value, because size of headers is not known at a time of download.