Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
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:
Copy Code | |
---|---|
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:
Copy Code | |
---|---|
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:
Copy Code | |
---|---|
HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\PopFnt lfHeight = "Ht" lfWeight = "Wt" lfCharSet = "CS" lfItalic = "It" lfFaceName = "Nm" |