<?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 : Button caption word wraps</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Button caption word wraps]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 01 Jun 2026 16:43:10 +0000</pubDate>
  <lastBuildDate>Fri, 27 Apr 2007 11:01:15 +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=6137</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[Button caption word wraps : As Oleg promised, a flag was added...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6137&amp;PID=22411&amp;title=button-caption-word-wraps#22411</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2668">lheier</a><br /><strong>Subject:</strong> 6137<br /><strong>Posted:</strong> 27 April 2007 at 11:01am<br /><br /><P>As Oleg promised, a flag was added in 11.1 for turning off word wrapping:</P><DIV><FONT size=2>tab1-&gt;GetPaintManager()-&gt;m_bWrapCaptionBelowText = FALSE;</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>where tab1 is a CXTPControlPopup*.</DIV></FONT>]]>
   </description>
   <pubDate>Fri, 27 Apr 2007 11:01:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6137&amp;PID=22411&amp;title=button-caption-word-wraps#22411</guid>
  </item> 
  <item>
   <title><![CDATA[Button caption word wraps : Thank you for the information....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6137&amp;PID=19980&amp;title=button-caption-word-wraps#19980</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 6137<br /><strong>Posted:</strong> 01 February 2007 at 1:07am<br /><br />Thank you for the information. Maybe I can also make use of such a flag when it will be added in the future.]]>
   </description>
   <pubDate>Thu, 01 Feb 2007 01:07:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6137&amp;PID=19980&amp;title=button-caption-word-wraps#19980</guid>
  </item> 
  <item>
   <title><![CDATA[Button caption word wraps : Thanks for your suggestions, akur....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6137&amp;PID=19761&amp;title=button-caption-word-wraps#19761</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2668">lheier</a><br /><strong>Subject:</strong> 6137<br /><strong>Posted:</strong> 26 January 2007 at 11:08am<br /><br />Thanks for your suggestions, akur.&nbsp; I submitted this to Codejock as a support issue to see if there was an easier way to do this or&nbsp;if they would consider exposing this as a flag or property.&nbsp; Here was the response I got from Oleg: "<FONT size=2>There is no another method now. We will add some flag for next major release."</FONT>]]>
   </description>
   <pubDate>Fri, 26 Jan 2007 11:08:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6137&amp;PID=19761&amp;title=button-caption-word-wraps#19761</guid>
  </item> 
  <item>
   <title><![CDATA[Button caption word wraps : Or another possibility would be...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6137&amp;PID=19504&amp;title=button-caption-word-wraps#19504</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 6137<br /><strong>Posted:</strong> 19 January 2007 at 7:29am<br /><br />Or another possibility would be to write your own version of<br><br><font face="Courier New, Courier, mono">CXTPPaintManager::SplitString(const CString&amp; str, CString&amp; strFirstRow, CString&amp; strSecondRow)</font>;<br><br>which normally splits your toolbar button text into two rows. Your version would simply _not_ split 'str' at all. Instead, it would just copy the entire '<font face="Courier New, Courier, mono">str</font>' into '<font face="Courier New, Courier, mono">strFirstRow</font>', leaving '<font face="Courier New, Courier, mono">strSecondRow</font>' empty.<br><br>However, <b><font color="#0000ff" face="Courier New, Courier, mono">SplitString()</font><font color="#0000ff"> is not virtual</font></b> unfortunately, so you might need to directly change XTP's code and rebuild the library.<br><br>Good luck!<br>]]>
   </description>
   <pubDate>Fri, 19 Jan 2007 07:29:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6137&amp;PID=19504&amp;title=button-caption-word-wraps#19504</guid>
  </item> 
  <item>
   <title><![CDATA[Button caption word wraps : Hi,you can try and create your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6137&amp;PID=19503&amp;title=button-caption-word-wraps#19503</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 6137<br /><strong>Posted:</strong> 19 January 2007 at 7:22am<br /><br />Hi,<br><br>you can try and create your own class derived from <font face="Courier New, Courier, mono">CXTPControlButton</font>, override its <font face="Courier New, Courier, mono">GetSize()</font> method and make your toolbars use this special button type of yours.<br><br>]]>
   </description>
   <pubDate>Fri, 19 Jan 2007 07:22:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6137&amp;PID=19503&amp;title=button-caption-word-wraps#19503</guid>
  </item> 
  <item>
   <title><![CDATA[Button caption word wraps : Does anyone know how to stop the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6137&amp;PID=19410&amp;title=button-caption-word-wraps#19410</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2668">lheier</a><br /><strong>Subject:</strong> 6137<br /><strong>Posted:</strong> 16 January 2007 at 11:21am<br /><br />Does anyone know how to stop the captions of toolbar buttons from word wrapping?&nbsp; My toolbar has plenty of space.<DIV>&nbsp;</DIV><DIV><DIV></DIV><DIV></DIV><img src="https://forum.codejock.com/uploads/20070116_111358_TabMenuButt&#111;ns.jpg" border="0"></DIV><DIV>&nbsp;</DIV><DIV>I took the space out of the caption for Button Three just to show there is room for the entire caption.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>I'm using the xtpThemeRibbon theme on my CXTPCommandBars.&nbsp; The buttons are all xtpControlSplitButtonPopup controls with style xtpButtonIconAndCaptionBelow.&nbsp; I'm using XTP version 10.4.</DIV>]]>
   </description>
   <pubDate>Tue, 16 Jan 2007 11:21:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6137&amp;PID=19410&amp;title=button-caption-word-wraps#19410</guid>
  </item> 
 </channel>
</rss>