Visual C++ and MFC Programming 2nd Edition

(Martin Jones) #1

Visual C++ and MFC Fundamentals Chapter 12: Dialog-Based Windows



  1. Click OK

  2. In the MFC Application Wizard dialog box, click Application Type and, on the right
    side, click the Dialog Based radio button

  3. Click User Interface Features and click About Box to remove its check box

  4. Under Dialog Title, select the text and replace it with Dialog Box Exercise

  5. Click Advance Features to see its content

  6. Click Generated Classes

  7. In the Generated Classes list, click CExoDialog2App and, in the Class Name, replace
    the text with CExerciseApp

  8. In the Generated Classes list, click CExoDialog2Dlg
    In the Class Name, replace the name with CExerciseDlg
    In the .h file edit box, replace the name of the file with ExerciseDlg.h
    In the .cpp file edit box, replace the name of the file with ExerciseDlg.cpp
    Make sure the Base Class is set to CDialog

Free download pdf