| CFont& CBCGPGlobalUtils::GetFontRegular | ( | const CWnd * | pWndOwner = NULL, |
| BOOL | bCheckForDlgFont = TRUE |
||
| ) |
Returns a regular font for the given DPI (Dots Per Inch) specified by the window.
Call the GetFontRegular method to retrieve the font that the framework uses in the control bar's text label drawing (such as a toolbar, menu bar, or ribbon bar).
| pWndOwner | The pointer to the CWnd object. If this parameter is a CWnd::wndTop address, the active (currently drawn) window will be used. |
| bCheckForDlgFont | Specifies whether the dialog font size (if pWndOwner is a dialog) should be applied to the returned font. |