FONT

FONT pointsize, typeface

The FONT statement defines the font with which Windows will draw text in the dialog box. The font must have been previously loaded, either from the WIN.INI file or by calling the LoadResource function.

Parameters

pointsize

Specifies the size, in points, of the font.

typeface

Specifies the name of the typeface. This name must be identical to the name defined in the [fonts] section of WIN.INI. This parameter must be enclosed in double quotes.

Examples

The following example demonstrates the usage of the FONT statement:

FONT 12, "MS Sans Serif"

See Also

DIALOG, LoadResource