Поделиться через


CMFCMenuBar::GetMenuFont

Retrieves the current menu font.

static const CFont& GetMenuFont(
   BOOL bHorz = TRUE
);

Parameters

  • [in] bHorz
    A Boolean parameter that specifies whether to return the horizontal or vertical font. TRUE indicates the horizontal font.

Return Value

A pointer to a CFont parameter that contains the current menu bar font.

Remarks

The returned font is a global parameter for the application. Two global fonts are maintained for all CMFCMenuBar objects. These separate fonts are used for horizontal and vertical menu bars.

Requirements

Header: afxmenubar.h

See Also

Reference

CMFCMenuBar Class

Hierarchy Chart

CMFCMenuBar::SetMenuFont