<?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 : TreeView Ic&#111;ns from ImageManager</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : TreeView Ic&#111;ns from ImageManager]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 27 May 2026 16:30:04 +0000</pubDate>
  <lastBuildDate>Fri, 11 Mar 2005 11:21:42 +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=1953</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[TreeView Ic&#111;ns from ImageManager : I can&amp;#039;t agree more. It is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1953&amp;PID=5694&amp;title=treeview-icons-from-imagemanager#5694</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=780">Devin Dazzle</a><br /><strong>Subject:</strong> 1953<br /><strong>Posted:</strong> 11 March 2005 at 11:21am<br /><br /><P>I can't agree more. It is a complete waste to have to have two seperate image holding controls. Much of the time you might want to use the same icon in a toolbar and in a ListView/TreeView. Having the same icon contained in two different controls on the same form&nbsp;is a waste of resources.<BR><BR>You could have used a custom imagelist like the ImageManager if the ImageManager supported standard ImageList messages like ImageList_ExtractIcon or ImageList_Draw by subclassing the TreeView and capturing the TVM_SETIMAGELIST message aften assigning the custom imagelist using the TreeView_SetImageList macro. This will not work however as noted above.<BR><BR>The only solution I see is to subclass the treeview and paint the icons onto the treeview nodes yourself from the IconManager. I have not tried it but it should work. It just requires a bit of work.<BR><BR>______________<BR>Best Regards Kim Pedersen<BR><A href="http://www.vbcodemagician.dk" target="_blank">Http://www.vbcodemagician.dk</A></P><span style="font-size:10px"><br /><br />Edited by Devin Dazzle</span>]]>
   </description>
   <pubDate>Fri, 11 Mar 2005 11:21:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1953&amp;PID=5694&amp;title=treeview-icons-from-imagemanager#5694</guid>
  </item> 
  <item>
   <title><![CDATA[TreeView Ic&#111;ns from ImageManager : I thought as much, though I was...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1953&amp;PID=5692&amp;title=treeview-icons-from-imagemanager#5692</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=280">ianp</a><br /><strong>Subject:</strong> 1953<br /><strong>Posted:</strong> 11 March 2005 at 7:05am<br /><br /><P>I thought as much, though I was hoping that someone would have a cunning solution.</P><P>I like being able to load implementation specific icons into an application , but don't like loading them into two places (seems a waste).&nbsp;</P><P>I like the inbuilt features the imagemanager has for loading icons (e.g. from an image 'strip') but don't like the fact that you can't then get indivdual icons out.</P><span style="font-size:10px"><br /><br />Edited by ianp</span>]]>
   </description>
   <pubDate>Fri, 11 Mar 2005 07:05:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1953&amp;PID=5692&amp;title=treeview-icons-from-imagemanager#5692</guid>
  </item> 
  <item>
   <title><![CDATA[TreeView Ic&#111;ns from ImageManager : No, this is not possible. The...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1953&amp;PID=5690&amp;title=treeview-icons-from-imagemanager#5690</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=780">Devin Dazzle</a><br /><strong>Subject:</strong> 1953<br /><strong>Posted:</strong> 11 March 2005 at 4:02am<br /><br />No, this is not possible. The MS TreeView control can only use the MS ImageList control. When you assign an ImageList to a TreeView the hID is passed to indentify it. The ImageManager doesn't support this and does not comply with standard ImageList commands. So you have to use both.]]>
   </description>
   <pubDate>Fri, 11 Mar 2005 04:02:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1953&amp;PID=5690&amp;title=treeview-icons-from-imagemanager#5690</guid>
  </item> 
  <item>
   <title><![CDATA[TreeView Ic&#111;ns from ImageManager : Is it possible for the MS Tree...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1953&amp;PID=5684&amp;title=treeview-icons-from-imagemanager#5684</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=280">ianp</a><br /><strong>Subject:</strong> 1953<br /><strong>Posted:</strong> 11 March 2005 at 1:02am<br /><br /><P>Is it possible for the MS Tree View to use the icons stored in an ImageManager icons collection?</P>]]>
   </description>
   <pubDate>Fri, 11 Mar 2005 01:02:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1953&amp;PID=5684&amp;title=treeview-icons-from-imagemanager#5684</guid>
  </item> 
 </channel>
</rss>