Adding a Control

The toolbox on the right side of the screen contains icons of the mouse pointer and all supplied controls. The mouse pointer, when pressed, indicates that no control has been selected. You can place any of the other controls in a dialog, and you can also create and include your own custom controls.

    To add a control to the dialog
  1. In the Toolbox, click one of the control icons.
  2. Click in the dialog.

You can use the mouse to resize a control with its resize handle. You can move a control with the cursor keys when it is selected or by dragging it with the mouse.

When a control is selected or created, the properties bar displays information about it. The Symbol edit field replaces the Dlg. Sym. edit field, and the Text edit field replaces the Caption edit field. The numeric control ID edit field appears for controls just as for dialogs.

You can associate a symbolic name with the control's ID by typing the name in the Symbol edit field. The Dialog Editor assigns each new control in a dialog an ID number. It assigns these numbers sequentially, beginning with the number following the dialog ID. Even if you assigned it a zero-terminated string and deleted the integer ID.