<?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 : ImageManager.AddIc&#111;n using ExtractIc&#111;n</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : ImageManager.AddIc&#111;n using ExtractIc&#111;n]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 27 May 2026 23:17:35 +0000</pubDate>
  <lastBuildDate>Fri, 24 Feb 2006 08:51:49 +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=3695</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[ImageManager.AddIc&#111;n using ExtractIc&#111;n : Many, many thxs. That did the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3695&amp;PID=11169&amp;title=imagemanager-addicon-using-extracticon#11169</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1549">Shawshank</a><br /><strong>Subject:</strong> 3695<br /><strong>Posted:</strong> 24 February 2006 at 8:51am<br /><br />Many, many thxs. That did the trick!]]>
   </description>
   <pubDate>Fri, 24 Feb 2006 08:51:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3695&amp;PID=11169&amp;title=imagemanager-addicon-using-extracticon#11169</guid>
  </item> 
  <item>
   <title><![CDATA[ImageManager.AddIc&#111;n using ExtractIc&#111;n : Hello, ExtractIcon by default...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3695&amp;PID=11165&amp;title=imagemanager-addicon-using-extracticon#11165</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3695<br /><strong>Posted:</strong> 24 February 2006 at 8:04am<br /><br /><P>Hello,</P><P>ExtractIcon by default loads 32*32 icon. Try ExtractIconEx:</P><P>ExtractIconEx "C:\Windows\System32\shell32.dll", -152, 0, hIcon, 1</P>]]>
   </description>
   <pubDate>Fri, 24 Feb 2006 08:04:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3695&amp;PID=11165&amp;title=imagemanager-addicon-using-extracticon#11165</guid>
  </item> 
  <item>
   <title><![CDATA[ImageManager.AddIc&#111;n using ExtractIc&#111;n : I am attempting to add an icon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3695&amp;PID=11147&amp;title=imagemanager-addicon-using-extracticon#11147</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1549">Shawshank</a><br /><strong>Subject:</strong> 3695<br /><strong>Posted:</strong> 23 February 2006 at 6:55pm<br /><br /><P>I am attempting to add an icon to the ImageManager and then subsequently assigning it to a ReportRecordItem. I use the following:</P><P>iIdx% = -152</P><P>lIconIdx&amp; = (Me.ImageMan.Icons.Count + 1)</P><P>sIconPath$ = "C:\Windows\System32\shell32.dll"</P><P>hIcon&amp; = ExtractIcon(frmMain.hWnd, sIconPath$, iIdx%)</P><P>Me.ImageMan.Icons.AddIcon hIcon&amp;, lIconIdx&amp;, xtpImageNormal</P><P>This code certainly returns an icon handle and appears to properly add the icon to the ImangeManager. I see that the ImageManager Icon.Count property increments by one. I then try to assign the icon to the ReportRecordItem like so:</P><P>r.Item(1).Icon = lIconIdx&amp;</P><P>After calling Me.rc.Populate I see that the text of the ReportRecordItem has shifted to the right somewhat as though the icon was there. However, if it is there it is invisible. I've tried any number of different indexes into the shell32.dll library but all have the same result. I suspect the issue is related to there being multiple icons within a single icon file? If so, is there a way around this? Or, perhaps my code is incorrect?</P><P>Thx</P>]]>
   </description>
   <pubDate>Thu, 23 Feb 2006 18:55:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3695&amp;PID=11147&amp;title=imagemanager-addicon-using-extracticon#11147</guid>
  </item> 
 </channel>
</rss>