<?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 : Toolbar reset makes SetCaption() undone?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Toolbar reset makes SetCaption() undone?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 15:49:44 +0000</pubDate>
  <lastBuildDate>Fri, 18 Jan 2008 02:15:12 +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=9334</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[Toolbar reset makes SetCaption() undone? : Hi, Better in OnCreate after...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9334&amp;PID=30252&amp;title=toolbar-reset-makes-setcaption-undone#30252</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9334<br /><strong>Posted:</strong> 18 January 2008 at 2:15am<br /><br /><P>Hi,</P><DIV>Better in OnCreate after you modifyed all buttons and before you call&nbsp; LoadCommandBars add</DIV><DIV>&nbsp;</DIV><DIV>pToolBar-&gt;GetControls()-&gt;CreateOriginalControls(); - it will create "original" version to reset.</DIV>]]>
   </description>
   <pubDate>Fri, 18 Jan 2008 02:15:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9334&amp;PID=30252&amp;title=toolbar-reset-makes-setcaption-undone#30252</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar reset makes SetCaption() undone? : ON_MESSAGE(WM_XTP_CUSTOMIZATION_RESETTOOLBAR,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9334&amp;PID=30227&amp;title=toolbar-reset-makes-setcaption-undone#30227</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 9334<br /><strong>Posted:</strong> 17 January 2008 at 11:11am<br /><br /><DIV>ON_MESSAGE(WM_XTP_CUSTOMIZATION_RESETTOOLBAR, OnResetToolBar)</DIV><DIV>&nbsp;</DIV><DIV>Then update the toolbar captions in OnResetToolBar. In case somebody encounters the same problem...</DIV>]]>
   </description>
   <pubDate>Thu, 17 Jan 2008 11:11:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9334&amp;PID=30227&amp;title=toolbar-reset-makes-setcaption-undone#30227</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar reset makes SetCaption() undone? : I have a toolbar which is loaded...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9334&amp;PID=30219&amp;title=toolbar-reset-makes-setcaption-undone#30219</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 9334<br /><strong>Posted:</strong> 17 January 2008 at 10:05am<br /><br /><P>I have a toolbar which is loaded from a resource IDR_TOOL. Then I replace certain strings using FindControl(...)-&gt;SetCaption(...). Now, if the user clicks "Reset toolbar" in the application my custom caption strings seem to be reset.</P><DIV>Is this the right behavior? I guess I have to catch a "reset" event and call SetCaption again... am I right?</DIV><DIV>&nbsp;</DIV><DIV>Thanks!</DIV>]]>
   </description>
   <pubDate>Thu, 17 Jan 2008 10:05:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9334&amp;PID=30219&amp;title=toolbar-reset-makes-setcaption-undone#30219</guid>
  </item> 
 </channel>
</rss>