Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FONT Statement

Windows CE 3.0

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.

FONT pointsize, "typeface"


Specifies the size, in points, of the font.
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 (").


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

FONT 12, "MS Shell Dlg" 

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.

© 2015 Microsoft