Share via


CHtmlView::OnProgressChange

This member function is called by the framework to notify an application that the progress of a download operation has been updated.

virtual void OnProgressChange( 
   long nProgress, 
   long nProgressMax  
);

Parameters

  • nProgress
    Amount of total progress to show, or -1 when progress is complete.

  • nProgressMax
    Maximum progress value.

Remarks

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.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlView Class

Hierarchy Chart

CHtmlView::GetBusy

CProgressCtrl Class