<?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 : Ribbon Font</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Ribbon Font]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 06:15:00 +0000</pubDate>
  <lastBuildDate>Wed, 14 Feb 2007 01:28:39 +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=6372</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[Ribbon Font : Oops, last message should be in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6372&amp;PID=20399&amp;title=ribbon-font#20399</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2707">DonB</a><br /><strong>Subject:</strong> 6372<br /><strong>Posted:</strong> 14 February 2007 at 1:28am<br /><br />Oops, last message should be in SkinFramework section.]]>
   </description>
   <pubDate>Wed, 14 Feb 2007 01:28:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6372&amp;PID=20399&amp;title=ribbon-font#20399</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon Font : Something is going on withRibbon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6372&amp;PID=20398&amp;title=ribbon-font#20398</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2707">DonB</a><br /><strong>Subject:</strong> 6372<br /><strong>Posted:</strong> 14 February 2007 at 1:23am<br /><br /><P>Something is going on with&nbsp;Ribbon and fonts.&nbsp;&nbsp;Use&nbsp;toolbars&nbsp;that come canned with VB6 and never had to touch them.&nbsp;&nbsp;Large and Extra Large fonts now get reduced.&nbsp; No Ribbon, canned toolbar font follows system like normal.</P>]]>
   </description>
   <pubDate>Wed, 14 Feb 2007 01:23:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6372&amp;PID=20398&amp;title=ribbon-font#20398</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon Font : Windows XP with Segoe UI font...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6372&amp;PID=20315&amp;title=ribbon-font#20315</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2707">DonB</a><br /><strong>Subject:</strong> 6372<br /><strong>Posted:</strong> 12 February 2007 at 2:52pm<br /><br />Windows XP with Segoe UI font installed, ribbon tab font never changes, the font is small and can't change size.&nbsp; Uninstall Segoe UI and problem goes away.]]>
   </description>
   <pubDate>Mon, 12 Feb 2007 14:52:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6372&amp;PID=20315&amp;title=ribbon-font#20315</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon Font : After a fresh shower :) Could...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6372&amp;PID=20283&amp;title=ribbon-font#20283</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2707">DonB</a><br /><strong>Subject:</strong> 6372<br /><strong>Posted:</strong> 11 February 2007 at 5:44pm<br /><br /><P>After a fresh shower :)&nbsp; Could there be a boolean property to just follow metrics?&nbsp; That way you do what you do very well and all we have to worry about are dumb controls.&nbsp; Something simple,&nbsp;.GlobalSettings.FollowMetrics = True.&nbsp; No worrying about when&nbsp;properties are set, objects are created etc.&nbsp; Anyway, just a thought.&nbsp; Regards, Don</P>]]>
   </description>
   <pubDate>Sun, 11 Feb 2007 17:44:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6372&amp;PID=20283&amp;title=ribbon-font#20283</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon Font : Samples produce proper behavior...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6372&amp;PID=20282&amp;title=ribbon-font#20282</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2707">DonB</a><br /><strong>Subject:</strong> 6372<br /><strong>Posted:</strong> 11 February 2007 at 4:54pm<br /><br /><P>Samples produce proper behavior depending on Windows font settings.&nbsp; Even changing on the fly using Appearance dialog, font changes w/system.&nbsp;&nbsp;Looking at your code,&nbsp;nothing w/fonts except in the options section to change size.&nbsp; For the life of me, can not produce same effect.&nbsp; I have some&nbsp;Win2K TS folks, so use 2 flavors in testing.&nbsp;&nbsp;Ribbon or Office 2000 look.&nbsp; I call this routine from every Form using XCB's.</P><DIV></DIV><DIV><FONT face="Courier New, Courier, mono">Sub XCommandBarsSetup(oCB As XtremeCommandBars.CommandBars, _<BR>&nbsp;oRibbon As XtremeCommandBars.RibbonBar, _<BR>&nbsp;oControlBox As XtremeCommandBars.CommandBarPopup)<BR><BR>&nbsp;With oCB<BR>&nbsp; .GlobalSettings.App = App<BR>&nbsp;&nbsp;.EnableCustomization True<BR>&nbsp;&nbsp;.LoadDesignerBars<BR>&nbsp;&nbsp;.Icons.MaskColor = vbMagenta<BR>&nbsp;&nbsp;If (m_NCM.ColorDepth &lt; COLOR32_eCD) Then<BR>&nbsp;&nbsp; ReplaceIcons oCB<BR>&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;.StatusBar.AddPane 0<BR>&nbsp;&nbsp;With .StatusBar.Pane(0)<BR>&nbsp;&nbsp; .Style = SBPS_STRETCH<BR>&nbsp;&nbsp;&nbsp;.Text = C_Ready<BR>&nbsp;&nbsp;End With<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;If (m_NCM.ColorDepth &gt; COLOR8_eCD) Then<BR>&nbsp;&nbsp;&nbsp;.Options.SetIconSize True, 32, 32<BR>&nbsp;&nbsp;&nbsp;Dim i As Long<BR>&nbsp;&nbsp;&nbsp;Do While (.Count &gt; 0)<BR>&nbsp;&nbsp;&nbsp; .Item(1).Delete<BR>&nbsp;&nbsp;&nbsp;Loop<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;Set oRibbon = .AddRibbonBar(C_Ribbon)<BR>&nbsp;&nbsp;&nbsp;With oRibbon<BR>&nbsp;&nbsp;&nbsp;&nbsp;.SetFlags xtpFlagHideMDIButtons, 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;.EnableDocking xtpFlagStretched<BR>&nbsp;&nbsp;&nbsp;&nbsp;.EnableFrameTheme<BR>&nbsp;&nbsp;&nbsp;&nbsp;.ShowCaptionAlways = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;Set oControlBox = .AddSystemButton()<BR>&nbsp;&nbsp;&nbsp;End With<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;.VisualTheme = xtpThemeOffice2007<BR>&nbsp;&nbsp;&nbsp;.EnableOffice2007Frame True<BR>&nbsp;&nbsp;Else<BR>&nbsp;&nbsp; .Item(1).SetFlags xtpFlagHideMDIButtons, 0<BR>&nbsp;&nbsp;&nbsp;.Options.SetIconSize True, 24, 24<BR>&nbsp;&nbsp;&nbsp;.VisualTheme = xtpThemeOffice2000<BR>&nbsp;&nbsp;End If<BR>&nbsp;End With<BR>End Sub</FONT></DIV><DIV>&nbsp;</DIV><DIV>If I do nothing and&nbsp;user has Large or Extra Large fonts set,&nbsp;XCB has normal font sizes.&nbsp;&nbsp;Like&nbsp;sample I want to do nothing with Menu/Ribbon and&nbsp;follow&nbsp;user settings.&nbsp;&nbsp; I change all&nbsp;other&nbsp;controls to reflect user settings but XCB is causing grief.&nbsp; The only way I can get desired result was to do this:</DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono">Private Sub pCommandBarsFont()<BR>'<BR>&nbsp;If bForm_Activate Then<BR>&nbsp;&nbsp;With Me!CB<BR>&nbsp;&nbsp;&nbsp;Set .Options.Font = NCM.Font(MenuFont_NCM)<BR>&nbsp;&nbsp;&nbsp;Set .StatusBar.Font = .Options.Font<BR>&nbsp;&nbsp;&nbsp;If Not (m_Ribbon Is Nothing) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;Set m_Ribbon.TabPaintManager.Font = .Options.Font<BR>&nbsp;&nbsp;&nbsp;&nbsp;Set m_Ribbon.RibbonPaintManager.CaptionFont = .Options.Font<BR>&nbsp;&nbsp;&nbsp;&nbsp;m_Ribbon.FontHeight = NCM.FontHeight<BR>&nbsp;&nbsp;&nbsp;&nbsp;m_Ribbon.RecalcLayout<BR>&nbsp;&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;&nbsp;.PaintManager.RefreshMetrics<BR>&nbsp;&nbsp;&nbsp;.RecalcLayout<BR>&nbsp;&nbsp;End With<BR>&nbsp;End If<BR>'<BR>End Sub<BR></FONT></DIV><DIV>This does produce desired results except for the Title Bar size which remains Normal size no matter what.&nbsp; Is there a particular order to do things that produce same results as your sample.&nbsp; Thanks in advance, Don</DIV>]]>
   </description>
   <pubDate>Sun, 11 Feb 2007 16:54:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6372&amp;PID=20282&amp;title=ribbon-font#20282</guid>
  </item> 
 </channel>
</rss>