void CBCGPButton::EnableMenuFont | ( | BOOL | bOn = TRUE , |
BOOL | bRedraw = TRUE |
||
) |
Enables or disables using of the menu font when displaying the button's text
Call this member function with the parameter bOn = TRUE if you want the button's text displayed with the same font as the application menu. Alternatively, you can call either CWnd::SetFont function with the desired font or allow the default GUI font to be selected (the CBCGPButton::SelectFont member function internally calls CDC::SelectStockObject (DEFAULT_GUI_FONT) if no font was specified).
bOn | Specifies whether to enable (TRUE) or disable (FALSE) using of the menu font when displaying the button's text. |
bRedraw | Specifies whether a control should be redrawn. |