luna
luna

Reputation: 133

remaining time in the progress dialog

In a GUI application I would like to show a progess dialog displaying how much time left for the task to accomplish, how may I get the remaining time before the task ends and count it down please? thanks

Upvotes: 0

Views: 208

Answers (2)

Russ
Russ

Reputation: 4173

Assuming you have the code for this GUI application, to determine remaining time you simply need to know the total time a task takes and subtract the amount of time that passed since the start of the task.

Upvotes: 1

Frank
Frank

Reputation: 2648

How to get the remaining time is something no-one but your application (or you) can know.

Upvotes: 1

Related Questions