<?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 sizing</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Ribbon sizing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 03:50:42 +0000</pubDate>
  <lastBuildDate>Wed, 18 Nov 2009 03:17:42 +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=15656</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 sizing : Hi,  could someone post some...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15656&amp;PID=54945&amp;title=ribbon-sizing#54945</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5514">feffe</a><br /><strong>Subject:</strong> 15656<br /><strong>Posted:</strong> 18 November 2009 at 3:17am<br /><br /><P>Hi, </P><DIV>could someone post some lines of code for showing me how decrease ribbon height and eliminate group caption?</DIV><DIV>&nbsp;</DIV><DIV>thank you a lot</DIV><DIV>&nbsp;</DIV><DIV>N.B:. My frame window is skinned with office theme</DIV><DIV>&nbsp;</DIV><DIV>EDIT: I've found only one solution.</DIV><DIV>In InitInstance of my application I set a timer of 100ms, and then in CMainFrame I have a method OnTimer:</DIV><DIV><FONT color=#0000ff><P>if</FONT> (nIDEvent == ID_RIBBON_TIMER)</P><P>{</P><P>KillTimer(nIDEvent);</P><P>CXTPCustomRibbonTheme *pTheme = (CXTPCustomRibbonTheme*)m_pRibbonBar-&gt;GetPaintManager(); </P><P>pTheme-&gt;SetGroupCaptionHeight(0);</P><P>m_pRibbonBar-&gt;OnRecalcLayout();</P><P>}</P><DIV>In this way, it seems to work. If i put these lines anywhere in the code, before the main window is shown, it doesn't work.</DIV><DIV>I really don't understand WHAT and WHEN&nbsp;overrides my caption settings.&nbsp;</DIV></DIV>]]>
   </description>
   <pubDate>Wed, 18 Nov 2009 03:17:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15656&amp;PID=54945&amp;title=ribbon-sizing#54945</guid>
  </item> 
 </channel>
</rss>