A dialog template is a data structure used to define a dialog box. Dialog templates can be loaded from resources or created dynamically in memory. Dialog templates define windows of any window class that contain child windows of any class. For standard dialog windows, the dialog window itself is created with the WC_FRAME class, and its children are any of the preregistered control classes.
The dialog template specifies all the information required to create a dialog box and its children.