LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

ATTR_MENU_BAR_FONT

ATTR_MENU_BAR_FONT

Type: Menu attribute
Description: The name of the font for the menu bar.

To determine the size of the buffer to pass when you are obtaining the font name, call GetMenuBarAttribute and specify the ATTR_MENU_BAR_FONT_NAME_LENGTH attribute.

You can use a LabWindows/CVI-supplied font; any host font—such as Arial or Courier—supported on your system; or a user-defined metafont saved by a previous call to functions such as CreateMetaFont and CreateMetaFontEx.

Note: LabWindows/CVI returns an error if you use a metafont that specifies an angle for the text.

Always set the font before setting the size or style.
Menu Objects: Menu Bars.
Data Type: string
Default Value: VAL_MENU_META_FONT
LabWindows/CVI
Compatibility:
LabWindows/CVI 8.0 and later

Values

VAL_MENU_FONT Default font style for LabWindows/CVI menus.

This font contains typeface information only. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font style.
VAL_DIALOG_FONT Default font style for LabWindows/CVI dialog boxes and control text.

This font contains typeface information only. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font style.
VAL_EDITOR_FONT Default font style for the LabWindows/CVI Source window.

This font contains typeface information only. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font style.
VAL_APP_FONT Default font style for the LabWindows/CVI Workspace window.

This font contains typeface information only. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font style.
VAL_MESSAGE_BOX_FONT Default font style for LabWindows/CVI message boxes.

This font contains typeface information only. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font style.
VAL_MENU_META_FONT Default font for LabWindows/CVI menus.

Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms.

This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font.
VAL_DIALOG_META_FONT Default font for LabWindows/CVI dialog boxes and control text.

Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms.

This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font.
VAL_EDITOR_META_FONT Default font for the LabWindows/CVI Source window.

Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms.

This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font.
VAL_APP_META_FONT Default font for the LabWindows/CVI Workspace window.

Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms.

This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font.
VAL_MESSAGE_BOX_META_FONT Default font for LabWindows/CVI message boxes.

Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms.

This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font.
VAL_7SEG_META_FONT Font that provides compatibility with LabWindows for DOS.

Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms.
VAL_SYSTEM_META_FONT Font that provides compatibility with function panels and user interface panels from LabWindows for DOS that use extended IBM PC characters. Because other fonts may not contain these extended characters, cut/paste operations may fail.

Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms.
In This Section
Was this information helpful?