Summary: Note the dialog's ID properties.
Change the focus back to the new dialog by clicking the dialog title bar. The Properties Bar now displays the dialog's default title, “Dialog Title,” and the default integer ID of 100.
Each dialog box in an application needs a unique ID number. It's the way that both you and Windows refer to a dialog within your application. You use the ID to tell Windows what dialog it should invoke, and Windows uses the ID to search the resource file for the dialog.
You can associate a symbolic name with the ID by typing the name in the Dlg. Sym. edit field. It's easier to refer to a dialog by a name than a number.
Give your dialog the symbolic name “MyDlg” by clicking the mouse in the Dlg. Sym. edit field to create an insertion point and then typing Mydlg. Windows also allows you to name a dialog with a zero-terminated string. See “The Properties Bar” on page 20 to learn how to enter a zero-terminated string in this field.
Now give your dialog the title “My Dialog” by typing My Dialog in the caption edit field. You can use the TAB key to move the insertion point. It will go first to the Dlg. Sym. ID edit field and then to the Caption edit field. If you do not see the insertion point, reposition it by clicking the mouse pointer in the edit field you want to use.
Summary: Note the control's ID properties.
Now click the push button again to select it. The editor has assigned the push button an ID of 101. Controls are given sequential ID numbers starting with the base of the dialog's ID.
You will see that the Symbol edit field has replaced the Dlg. Sym. edit field. You can associate a symbolic name with the control's ID by typing the name in the Symbol edit field.