In theMFC Class Wizarddialog box, enter the class name, e.g.,CMyDialog, selectCDialogas the base class, then pressFinish. This will create files namedMyDialog.cppandMyDialog.hand add them to your project. To override theOnInitDialogmethod in theCMyDialogclass: Open the fileMyDialog.h. S...