Share via


FONT Statement (Windows CE 5.0)

Send Feedback

This resource-definition statement sets the font that the system uses to 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.

FONTpointsize, "typeface"

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 (").

Example

The following code example shows how to use the FONT statement.

FONT 12, "MS Shell Dlg" 

See Also

DIALOG Resource | LoadResource

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.