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.
Specifies whether the button text font is the same as the application menu font.
void EnableMenuFont(
BOOL bOn=TRUE,
BOOL bRedraw=TRUE
);
Parameters
[in] bOn
TRUE to use the application menu font as the button text font; FALSE to use the system font. The default is TRUE.[in] bRedraw
TRUE to immediately redraw the screen; otherwise, FALSE. The default is TRUE.
Remarks
If you do not use this method to specify the button text font, you can specify the font with the CWnd::SetFont method. If you do not specify a font at all, the framework sets a default font.
Requirements
Header: afxbutton.h