DWebBrowserEvents2::ProgressChangeDWebBrowserEvents2::ProgressChange*
*



Contents  *



Index  *Topic Contents
*Previous Topic: DWebBrowserEvents2::OnVisible
*Next Topic: DWebBrowserEvents2::PropertyChange

DWebBrowserEvents2::ProgressChange

void ProgressChange(
    [in] long Progress,
    [in] long ProgressMax
);

Notifies an application that the progress of a download operation has been updated.

Progress
Amount of total progress to show, or -1 when progress is complete.
ProgressMax
Maximum progress value.

The container can use the information provided by this event to display the number of bytes downloaded so far or to update a progress indicator.

To calculate the percentage of progress to show in a progress indicator, multiply the value of Progress by 100 and divide by the value of ProgressMax (unless Progress is -1, in which case the container can indicate that the operation is finished or hide the progress indicator).

See also DWebBrowserEvents2::DownloadBegin, DWebBrowserEvents2::DownloadComplete


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.