<?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 : Add ic&#111;n in imagemanager</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Add ic&#111;n in imagemanager]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:47:27 +0000</pubDate>
  <lastBuildDate>Thu, 20 May 2004 07:51:13 +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=763</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[Add ic&#111;n in imagemanager : Images are added to the ImageManager...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=763&amp;PID=2009&amp;title=add-icon-in-imagemanager#2009</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 763<br /><strong>Posted:</strong> 20 May 2004 at 7:51am<br /><br />Images are added to the ImageManager via code using theCommandBars.AddIconHandle method.&nbsp; Below is a sample of code toadd an image in all three image states (normal, hot, disabled), or oyuocan just add the "normal" icon and th e"hat" and "disabled should becreated automatically.&nbsp; You can pull the images fromany source, I just used images in the imlToolbarIcons images list as anexample.<br><br>&nbsp;&nbsp;&nbsp; Debug.Print "ImageManager count before AddIconHandle: "; ImageManager.Icons.Count<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Dim hIcon As IPictureDisp<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; 'Change the icons for the ID_FILE_NEW control - will change image count assuming you<br>&nbsp;&nbsp;&nbsp; 'have not already added an image in the ImageManager control for ID_FILE_NEW<br>&nbsp;&nbsp;&nbsp; Set hIcon = imlToolbarIcons.ListImages(1).ExtractIcon<br>&nbsp;&nbsp;&nbsp; CommandBars.AddIconHandle hIcon, ID_FILE_NEW, xtpImageNormal, False<br>&nbsp;&nbsp;&nbsp; Set hIcon = imlToolbarIcons.ListImages(2).ExtractIcon<br>&nbsp;&nbsp;&nbsp; CommandBars.AddIconHandle hIcon, ID_FILE_NEW, xtpImageHot, False<br>&nbsp;&nbsp;&nbsp; Set hIcon = imlToolbarIcons.ListImages(3).ExtractIcon<br>&nbsp;&nbsp;&nbsp; CommandBars.AddIconHandle hIcon, ID_FILE_NEW, xtpImageDisabled, False<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Debug.Print "ImageManager count After AddIconHandle: "; ImageManager.Icons.Count<br><br><br>]]>
   </description>
   <pubDate>Thu, 20 May 2004 07:51:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=763&amp;PID=2009&amp;title=add-icon-in-imagemanager#2009</guid>
  </item> 
  <item>
   <title><![CDATA[Add ic&#111;n in imagemanager : I want add I&amp;#039;ve a my resource...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=763&amp;PID=2008&amp;title=add-icon-in-imagemanager#2008</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=535">skluc</a><br /><strong>Subject:</strong> 763<br /><strong>Posted:</strong> 20 May 2004 at 7:46am<br /><br /><P>I want add I've a my resource of icons and i want use them on my toolbar.</P><P>How can I add icon in a imagemanager control via code?</P>]]>
   </description>
   <pubDate>Thu, 20 May 2004 07:46:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=763&amp;PID=2008&amp;title=add-icon-in-imagemanager#2008</guid>
  </item> 
 </channel>
</rss>