DLGTEMPLATE Statement

Syntax:

  DLGTEMPLATE dialog-id  [load-option] [mem-option] [codepage]
  BEGIN
  dialog-definition
      .
      .
      .
  END

The DLGTEMPLATE statement creates a dialog-box template. A dialog-box template consists of a series of statements that define the identifier, load and memory options, dialog-box dimensions, and controls in the dialog box. The dialog-box template can be loaded from the executable file by using the WinLoadDlg function.

You can provide any number of dialog-box templates in a resource script file, but each template must have a unique dialog-id value.