<?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 : Icons from Resource</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Icons from Resource]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 09:34:36 +0000</pubDate>
  <lastBuildDate>Mon, 15 Feb 2016 09:10: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=22922</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[Icons from Resource : Hi all,I&amp;#039;m in the middle...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22922&amp;PID=74463&amp;title=icons-from-resource#74463</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8992">Karl77</a><br /><strong>Subject:</strong> 22922<br /><strong>Posted:</strong> 15 February 2016 at 9:10am<br /><br />Hi all,<div><br></div><div>I'm in the middle of evaluating CommandBars ActiveX.</div><div><br></div><div>Preface:</div><div>I have a working program which uses PNGs for icons.</div><div>They get loaded into an imagelist from a resource file.</div><div>They work fine in the CC5 toolbars as EXE and in the IDE.</div><div><br></div><div>Q:</div><div>I'd like to use these imagelists with the command bars.</div><div><br></div><div><span style="line-height: 1.4;"><font face="Courier New, Courier, mono">CommandBarsA.AddImageList imgl_24</font></span></div><div><font face="Courier New, Courier, mono">AddControl ToolBar.Controls, xtpControlButton, 1, "&amp;New", False, "Create a new document"</font></div><div><br></div><div>This doesn't show an icon.</div><div>I thought the 1 adresses the first icon.</div><div>Not sure if the problem is to tell the commandbars the right index.</div><div>In the examples and here in the forum I couldn't find an answer.</div><div><br></div><div>What is the right syntax or command construction?</div><div>Or am I on the wrong path?</div><div><br></div><div>Thank you.</div><div><br></div><div><br></div><div>(BTW, why I can't use the image manager:</div><div>I have found no method to load the icons from resource.</div><div>I have only PNGs now, but could easily switch to the ICO format.</div><div>I know there is LoadIconFromResource, but this requires a compiled exe.</div><div><span style="line-height: 1.4;">Not so very handy when working in the IDE...</span></div><div>If I miss something, I'll be happy to get a hint.)</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Mon, 15 Feb 2016 09:10:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22922&amp;PID=74463&amp;title=icons-from-resource#74463</guid>
  </item> 
 </channel>
</rss>