2.2.2.1 Template Format

The dialog template consists of a set of rows that are represented by a TRowSet structure, as specified in section 2.2.2.1.1, with each TRow structure, as specified in section 2.2.2.1.2, describing one control in the dialog. To create the dialog from the template, each control that is described in a TRow structure MUST be added to a dialog in the location and with the size specified.

The ControlFlags field, as specified in section 2.2.2.1.2, indicates additional information about the control, including whether it is editable. The CNTRL structure, as specified in section 2.2.2.1.3, will indicate which static strings are to be used for the control, and the property that can be used to initialize the control and can be updated if the user edits the value in the control. When a page control is encountered, a new tabbed page is added to the dialog, and the controls that follow the page control are placed on that page.