Visual C++ and MFC Fundamentals Chapter 18: Progress-Based Controls
CDialog::OnTimer(nIDEvent);
}
- Test the application
- After testing the application, close it
18.2 Progress Controls.........................................................................................
18.2.1..Overview...............................................................................................
The Progress control is used to display the evolution of an activity, especially for a long
operation. Like a label control, a progress control is used only to display information to
the user who cannot directly change it.
Practical Learning: Introducing Progress Bars
- Start a new MFC Application named PClock
- Create it as Dialog Box without an About Box
- Delete the TODO line and change the design of the IDR_MAINFRAME as follows:
- Add three Static Text controls to the left section of the dialog box with captions from
top down as Hours:, Minutes:, and Seconds respectively