DLGINCLUDE (1.2)
◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
The Resource Compiler DLGINCLUDE Statement
DLGINCLUDE (id filename)
The DLGINCLUDE statement tells the MS OS/2 Dialog Box Editor which
definition file to associate with the given dialog window. The file named by
filename must contain the #define directives used by the dialog window. The
id field must contain the identifier of the dialog window. It is still
necessary to include the definition file for the dialog window in the
resource-definition file.
You can provide any number of DLGINCLUDE statements in a resource-definition
file, but each must have a unique identifier.
Field Description
────────────────────────────────────────────────────────────────────────────
id Specifies the dialog-box identifier. This value must be an integer
in the range 0 through 65,535, or a simple expression that
evaluates to a value in that range.
filename Specifies the name of the file containing the #define directives.
If the file is not in the current directory, filename must be
preceded by a full path.
Example
This example includes the name of the definition file dlgdef.h. The
dialog-box identifier is 5.
DLGINCLUDE 5 \\include\\dlgref.h
See Also
#define
♦