Partager via


Default Registry Values for Menu

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The font used in a Windows Embedded CE menu can be based on hard-coded values or on registry values. The following list shows the default hard coded font values:

lfHeight = 13;
lfWidth = 0;
lfEscapement = 0;
lfOrientation = 0;
lfWeight = FW_BOLD for Bar menus and FW_NORMAL for Popup menus
lfItalic = FALSE;
lfUnderline = FALSE;
lfStrikeOut = FALSE;
lfCharSet = ANSI_CHARSET;
lfOutPrecision = OUT_DEFAULT_PRECIS;
lfClipPrecision = CLIP_DEFAULT_PRECIS;
lfQuality = DEFAULT_QUALITY;
lfPitchAndFamily = DEFAULT_PITCH | FF_SWISS;
lfFaceName = "MS Sans Serif"

Bar Menu Settings

The following example shows the registry settings that control the system bar menu:

HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\BarFnt
    lfHeight = "Ht"
    lfWeight = "Wt"
    lfCharSet  = "CS"
    lfItalic  = "It"
    lfFaceName = "Nm"

Pop-up Menu Settings

The following example shows the registry settings that control the system pop-up menu:

HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\PopFnt
    lfHeight = "Ht"
    lfWeight = "Wt"
    lfCharSet  = "CS"
    lfItalic  = "It"
    lfFaceName = "Nm"

See Also

Other Resources

Menus and Fonts