Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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