<?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 : Automatically adjust width of button on ribbon bar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Automatically adjust width of button on ribbon bar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 09:01:34 +0000</pubDate>
  <lastBuildDate>Thu, 18 Sep 2008 06:06:14 +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=12185</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[Automatically adjust width of button on ribbon bar : Hello,  You can prevent these...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12185&amp;PID=41141&amp;title=automatically-adjust-width-of-button-on-ribbon-bar#41141</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12185<br /><strong>Posted:</strong> 18 September 2008 at 6:06am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>You can prevent these 3 buttons to be minimized:</DIV><DIV>pButton-&gt;SetStyle(xtpButtonIconAndCaptionBelow);</DIV>]]>
   </description>
   <pubDate>Thu, 18 Sep 2008 06:06:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12185&amp;PID=41141&amp;title=automatically-adjust-width-of-button-on-ribbon-bar#41141</guid>
  </item> 
  <item>
   <title><![CDATA[Automatically adjust width of button on ribbon bar : Hi I have an application using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12185&amp;PID=41132&amp;title=automatically-adjust-width-of-button-on-ribbon-bar#41132</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4540">nttrungmt</a><br /><strong>Subject:</strong> 12185<br /><strong>Posted:</strong> 18 September 2008 at 3:35am<br /><br />Hi <br>I have an application using ribbon bar<br>Caption of buttons on ribbon bar don't have same length so that I have used CXTPControl::SetWidth() to make buttons in ribbon bar same width<br><br>The ribbon display well when width of program is enough<br><img src="uploads/20080918_031829_can_ok_1.png" height="116" width="876" border="0"><br>But when i resize the main form smaller -&gt; 3 buttons on ribbon bar will be resized like this<br><img src="uploads/20080918_032132_can_not_ok_1.png" height="116" width="837" border="0"><br><br>There are 3 buttons became horizontal with small icon + caption. But you can see the button don't display full caption anymore because the width i set before is not enough.<br><br>My question is how i handle event in which button on ribbon bar is changed style and how i can change the size of button to display all caption automatically.<br><br>I can set the maximize width for these button but in normal style (vertical icon + caption) the button is to big.<br><br>Is there any other way to handle? <br>]]>
   </description>
   <pubDate>Thu, 18 Sep 2008 03:35:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12185&amp;PID=41132&amp;title=automatically-adjust-width-of-button-on-ribbon-bar#41132</guid>
  </item> 
 </channel>
</rss>