Visual C++ and MFC Programming 2nd Edition

(Martin Jones) #1

Visual C++ and MFC Fundamentals Chapter 18: Progress-Based Controls


CDialog::OnTimer(nIDEvent);
}


  1. Test the application

  2. 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



  1. Start a new MFC Application named PClock

  2. Create it as Dialog Box without an About Box

  3. Delete the TODO line and change the design of the IDR_MAINFRAME as follows:

  4. Add three Static Text controls to the left section of the dialog box with captions from
    top down as Hours:, Minutes:, and Seconds respectively

Free download pdf