<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Changing Font in Ribbon</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Changing Font in Ribbon]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 09:34:42 +0000</pubDate>
  <lastBuildDate>Thu, 05 Dec 2019 05:23:45 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=23926</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Changing Font in Ribbon : Hi,how can i change the font /...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23926&amp;PID=77545&amp;title=changing-font-in-ribbon#77545</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9353">MarcoW</a><br /><strong>Subject:</strong> 23926<br /><strong>Posted:</strong> 05 December 2019 at 5:23am<br /><br /><div>Hi,</div><div><br></div><div>how can i change the font / font size in the ribbon?</div><div>When using <br></div><div><br></div><div>m_pRibbonBar-&gt;SetFont(font);</div><div><br></div><div>nothing happens.</div><div><br></div><div>When using</div><div><br></div><div>pCommandBars-&gt;GetPaintManager()-&gt;SetCommandBarsFontIndirect(&amp;theApp.m_lfStartprogramFont);</div><div><br></div><div><br></div><div>the font changes but then the heigth of the ribbn doesnt change, so that icons get scaled but are to big for the ribbon.</div><div><br></div><div>Use of</div><div><br></div><div>m_pRibbonBar-&gt;SetFontHeight(16);</div><div><br></div><div>doesnt work, when pCommandBars-&gt;GetPaintManager()-&gt;SetCommandBarsFontIndirect gets called.<br></div><div><br></div><div><br></div><div>So my question is, how can i set the font for an ribbon with the possibility to change the font size and ribbon and icons get scaled correctly (like in the ribbon sample)?</div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 05 Dec 2019 05:23:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23926&amp;PID=77545&amp;title=changing-font-in-ribbon#77545</guid>
  </item> 
 </channel>
</rss>