<?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 : How to change toolbar ic&#111;n</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How to change toolbar ic&#111;n]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 06:40:16 +0000</pubDate>
  <lastBuildDate>Wed, 21 Apr 2004 06:28:54 +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=643</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[How to change toolbar ic&#111;n :  Change the IconId. For example,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=643&amp;PID=1688&amp;title=how-to-change-toolbar-icon#1688</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 643<br /><strong>Posted:</strong> 21 April 2004 at 6:28am<br /><br />Change the IconId.&nbsp; For example, say you have set the "Tag" valueof your image in an image list to 100, 101, and 102.&nbsp; The youwould have the following code:<br><br>'Declare constants<br>Const ID_FILE_SAVE = 100<br>Const ID_FILE_SAVED = 101<br>Const ID_FILE_NEW = 102<br><br>'Add a toolbar and a control to the toolbar<br>Dim Control As CommandBarControl<br>Dim ToolBar As CommandBar<br>Set ToolBar = CommandBars.Add("Standard", xtpBarTop)<br>&nbsp;&nbsp;&nbsp; With ToolBar.Controls&nbsp;&nbsp;&nbsp;  <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_FILE_SAVE, "Save", -1, False)<br>&nbsp;&nbsp;&nbsp;&nbsp; End With<br><br>'Find the control in the toolbar and change the IconId<br>Set Control = CommandBar.FindControl(, ID_FILE_SAVE,,True)<br>If Not Control Is Nothing Then<br>&nbsp;&nbsp;&nbsp;&nbsp;Control.IconId = IF_FILE_SAVED<br>EndIf<br><br><br><span style="font-size:10px"><br /><br />Edited by SuperMario</span>]]>
   </description>
   <pubDate>Wed, 21 Apr 2004 06:28:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=643&amp;PID=1688&amp;title=how-to-change-toolbar-icon#1688</guid>
  </item> 
  <item>
   <title><![CDATA[How to change toolbar ic&#111;n : I need to change an icon in the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=643&amp;PID=1686&amp;title=how-to-change-toolbar-icon#1686</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=419">rdtcgriffin</a><br /><strong>Subject:</strong> 643<br /><strong>Posted:</strong> 20 April 2004 at 11:18pm<br /><br /><P>I need to change an icon in the toolbar whenever a Flag within the program is changed. How do I do this?</P><P>Thanks</P>]]>
   </description>
   <pubDate>Tue, 20 Apr 2004 23:18:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=643&amp;PID=1686&amp;title=how-to-change-toolbar-icon#1686</guid>
  </item> 
 </channel>
</rss>