Utilizing the CProgressCtrl :: MFC
Class CProgressCtrl is functionally simple and easy to understand. Nonetheless, I do have one question. How do you calculate the time duration from the start of a job (0% progression) to the completion (100% progression).
For example, let say we have a program that converts all letters in a text file into uppercase.
Original text file:
Output text file:
How do you implement a progression bar such that it displays the completetion animation accurately? I know the example above takes less than a second, but lets just imagine that it takes 10 *or* more.