(3) The dialog template and related properties are displayed in the corresponding window area, as shown in Figure 9.
(4) Use the mouse to click on the blank area of the dialog template, which will display more dialog attributes in the Properties window, including properties such as appearance, behavior, location, and miscellaneous items, find FontFace and FontSize items, respectively Changed to "Song, 9". (5) Round the OK and Cancel two buttons, change its CAPTION to "OK" and "Cancel" in the Properties window. (6) Select the Project-> Add Class menu command, pop up the dialog box as shown in Figure 10, select the MFC in Categories, and select the MFC Class in Templates, click the Open button.
(7) The dialog box as shown in Figure 11, type the class name you want to add in the CLASS NAME box, select its base class as CDialog in the base class, select the dialog box that just added, then press ENTER key, the system will add a user dialog class for program EX_HELLO.