You use the constructor of the dialog box to create the widgets
that will appear in the dialog box.
To keep the GUI up-to-date with the application state and vice versa, you
use keywords as targets of widgets. Keywords are defined as members of a form,
and the form is passed to the dialog box as a dialog box constructor argument.
For more information, see
AFXKeywords.
The following script shows how you can use keywords to construct a dialog box.
Figure 1
shows the Graphics Options dialog box generated by the
example script.