<?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 : [Closed] Changing Caption / Width</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : [Closed] Changing Caption / Width]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 04:11:18 +0000</pubDate>
  <lastBuildDate>Wed, 15 Nov 2006 04:52:35 +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=5523</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[[Closed] Changing Caption / Width : Thanks - works great.Being a modeless...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5523&amp;PID=17321&amp;title=closed-changing-caption-width#17321</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 5523<br /><strong>Posted:</strong> 15 November 2006 at 4:52am<br /><br />Thanks - works great.<br><br>Being a modeless non-resizable dialog I didn't have a WM_SIZE handler.<br><br>Cheers,<br>]]>
   </description>
   <pubDate>Wed, 15 Nov 2006 04:52:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5523&amp;PID=17321&amp;title=closed-changing-caption-width#17321</guid>
  </item> 
  <item>
   <title><![CDATA[[Closed] Changing Caption / Width : Hello,  In Dialog case when...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5523&amp;PID=17320&amp;title=closed-changing-caption-width#17320</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5523<br /><strong>Posted:</strong> 15 November 2006 at 4:40am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>In Dialog case when caption changed, Toolbar sends WM_SIZE to dialog to allow reposition self. </DIV><DIV>&nbsp;</DIV><DIV>Call RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);<BR></DIV><DIV>in OnSize handler of your dialog.</DIV>]]>
   </description>
   <pubDate>Wed, 15 Nov 2006 04:40:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5523&amp;PID=17320&amp;title=closed-changing-caption-width#17320</guid>
  </item> 
  <item>
   <title><![CDATA[[Closed] Changing Caption / Width :   In the picture below I am...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5523&amp;PID=17318&amp;title=closed-changing-caption-width#17318</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 5523<br /><strong>Posted:</strong> 15 November 2006 at 3:57am<br /><br />In the picture below I am failing to have the controls in the second toolbar change width when I change the captions, the captions can change dynamically. This is a modeless dialog.<br><br>In another situation where I have a dialog which can be resized as a child of a CFormView I do not have this problem with a toolbar with the same captions. As far as I can tell I have identical code.<br><br>The widths you see are based on the caption defined for the toolbar in Visual Studio (the Prompt field).<br><br>How do I force a toolbar to resize the controls based on the caption text?<br><br>I confused myself badly and ended up chasing my tail through the Codejock sources.<br><br>Many thanks, Simon<br><br><br><img src="uploads/20061115_035333_DM004.JPG" height="746" width="998" border="0">]]>
   </description>
   <pubDate>Wed, 15 Nov 2006 03:57:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5523&amp;PID=17318&amp;title=closed-changing-caption-width#17318</guid>
  </item> 
 </channel>
</rss>