Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Ribbon bar font? Collapse All
Subject Author Date
Robert Webb Jul 1, 2009 - 12:54 AM

Is there a way for the user to customise the font used in the ribbon bar (and/or the rest of the interface)?  Eg is it taken from a Windows settings?  It doesn’t appear to be.  If not, how is the font set via code?



Technical Support Jul 1, 2009 - 7:44 AM

The CExtRibbonPage::OnGetToolbarFont() virtual method provides the ribbon bar with a font. It’s an overridden version of the CExtToolControlBar::OnGetToolbarFont() virtual method. The CExtRibbonPage::OnGetToolbarFont() virtual method simply returns the CExtPaintManager::m_FontRibbonNormal font. So, you can simply change this font.