Windows Ribbon Framework: How to change font face and size?

Posted by Ian Boyd on Stack Overflow See other posts from Stack Overflow or by Ian Boyd
Published on 2010-04-17T18:33:41Z Indexed on 2010/04/17 18:43 UTC
Read the original article Hit count: 257

How do you change the font face and font size used by the Windows Ribbon Framwork?


Background

The user can configure Windows to use their preferred font size, e.g.:

  • 8pt
  • 9pt
  • 12pt

and their preferred font face, e.g.:

  • MS Sans Serif
  • Microsoft Sans Serif
  • Tahoma
  • Segoe UI
  • Calibri

but the Windows Ribbon Framework by default uses a font that is not the user's preference.

Additionally, the user could have specified their font preference in my application, which i want the Ribbon hosted in my application to honor.

© Stack Overflow or respective owner

Related posts about win32

Related posts about windows-ribbon-framework