Dialog Fonts

 

 

The font used to display a control's text. The font description should be delimited by double quote (") marks unless the attribute is set to DEFAULT. If this attribute is set to DEFAULT, the font specified as the value of the main dialog font will be used. If the main dialog font is set to DEFAULT, the system font is used. You do not need to provide any value for this attribute unless you are also specifying text or background color. WARNING: If a font is selected that doesn't exist on the user's system, a substitution will be made. We recommend using commonly available fonts.


FontName | FontSize | Weight | Face
 

 

FontName

Name of the font. (i.e. Courier New)  WARNING: If a font is selected that doesn't exist on the user's system, a substitution will be made. We recommend using commonly available fonts.

 

FontSize

Size of the font.  (i.e. 6000)  Larger numbers get you bigger fonts.

 

Weight

Weight of the font in the range 0 through 100. For example, 40 is normal and 70 is bold. If this value is zero, a default weight is used.

 

Face

Pitch and family of the font. (Add desired values)

The two low-order bits specify the pitch of the font and can be one of the following values.

Value

Pitch

0

DEFAULT_PITCH

1

FIXED_PITCH

2

VARIABLE_PITCH

 

Bits 4 through 7 of the member specify the font family and can be one of the following values.

Value

Family

0

DONTCARE - Don't care or don't know.

16

ROMAN - Fonts with variable stroke width (proportional) and with serifs. MS® Serif is an example.

32

SWISS - Fonts with variable stroke width (proportional) and without serifs. MS® Sans Serif is an example.

48

MODERN - Fonts with constant stroke width (monospace), with or without serifs. Monospace fonts are usually modern. Pica, Elite, and CourierNew® are examples

64

SCRIPT - Fonts designed to look like handwriting. Script and Cursive are examples.

80

DECORATIVE - Novelty fonts. Old English is an example.

   

 

 

§         Dialog

§         Dialog Overview

§         Defining the Dialog

§         Defining the Dialog Controls

§         Dialog Control Types

§         Dynamic Dialogs

§         InternetExplorer Controls

§         Dialog Units

§         Dialog Fonts

 

Control Types

§         Calendar

§         Checkbox

§         ComControl

§         DropListbox

§         Editbox

§         FileListbox

§         Groupbox

§         Itembox

§         MenuBar

§         MenuItem

§         MultiLinebox

§         Picture

§         PictureButton

§         PushButton

§         RadioButton

§         ReportView

§         Spinner

§         StaticText

§         VaryText