WPROGRESSDIALOG-RESET-TIMER (op-code 6)

This operation resets the progress dialog box timer to zero. It takes one parameter, the handle of the progress dialog returned by WPROGRESSDIALOG-CREATE.

The timer is used to estimate the remaining time. It is started when your application calls WPROGRESSDIALOG-CREATE. Unless your application will start immediately, it should call WPROGRESS-RESET-TIMER just before starting the work. This practice ensures that the time estimates will be as accurate as possible. This method should not be called after the first call to WPROGRESSDIALOG-SET-PROGRESS.