Share via


AFX_GLOBAL_DATA::m_bUseSystemFont

Indicates whether a system font is used for menus, toolbars, and ribbons.

BOOL m_bUseSystemFont;

Remarks

TRUE specifies to use a system font; otherwise, FALSE. The AFX_GLOBAL_DATA::AFX_GLOBAL_DATA constructor initializes this member to FALSE.

Testing this member is not the only way for the framework to determine the font to use. The AFX_GLOBAL_DATA::UpdateFonts method also tests default and alternative fonts to determine what visual styles are available to be applied to menus, toolbars, and ribbons.

Requirements

Header: afxglobals.h

See Also

Concepts

MFC Hierarchy Chart

Reference

AFX_GLOBAL_DATA Structure