<?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 : Trouble visualizing 2 icon formats</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Shortcut Bar : Trouble visualizing 2 icon formats]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 05:48:03 +0000</pubDate>
  <lastBuildDate>Fri, 25 Aug 2006 23:33:55 +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=4886</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[Trouble visualizing 2 icon formats : As I wrote you can&amp;#039;t - StdPicture...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4886&amp;PID=15235&amp;title=trouble-visualizing-2-icon-formats#15235</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4886<br /><strong>Posted:</strong> 25 August 2006 at 11:33pm<br /><br />As I wrote you can't - StdPicture can hold only 1 handle....<DIV>create 2 icons - myiconssmall.ico + myiconlarge.ico</DIV>]]>
   </description>
   <pubDate>Fri, 25 Aug 2006 23:33:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4886&amp;PID=15235&amp;title=trouble-visualizing-2-icon-formats#15235</guid>
  </item> 
  <item>
   <title><![CDATA[Trouble visualizing 2 icon formats : Thanks a lot for your reply.  Since...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4886&amp;PID=15234&amp;title=trouble-visualizing-2-icon-formats#15234</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2257">EMoscosoCam</a><br /><strong>Subject:</strong> 4886<br /><strong>Posted:</strong> 25 August 2006 at 11:27pm<br /><br />Thanks a lot for your reply.<DIV>&nbsp;</DIV><DIV>Since an item has only a single IconHandle property, how can I pass a handle for 2 icon formats?</DIV>]]>
   </description>
   <pubDate>Fri, 25 Aug 2006 23:27:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4886&amp;PID=15234&amp;title=trouble-visualizing-2-icon-formats#15234</guid>
  </item> 
  <item>
   <title><![CDATA[Trouble visualizing 2 icon formats : Hi, StdPicture can&amp;#039;t load...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4886&amp;PID=15232&amp;title=trouble-visualizing-2-icon-formats#15232</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4886<br /><strong>Posted:</strong> 25 August 2006 at 8:46pm<br /><br />Hi,<DIV>StdPicture can't load 2 icons, so it load only one icon and pass its handle to ShortcutBar.</DIV><DIV>As solution divide Icon to 2 icons.</DIV>]]>
   </description>
   <pubDate>Fri, 25 Aug 2006 20:46:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4886&amp;PID=15232&amp;title=trouble-visualizing-2-icon-formats#15232</guid>
  </item> 
  <item>
   <title><![CDATA[Trouble visualizing 2 icon formats : (Using version 10.1)  I have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4886&amp;PID=15228&amp;title=trouble-visualizing-2-icon-formats#15228</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2257">EMoscosoCam</a><br /><strong>Subject:</strong> 4886<br /><strong>Posted:</strong> 25 August 2006 at 3:57pm<br /><br />(Using version 10.1)<DIV>&nbsp;</DIV><DIV>I have an .ico file with 2 formats within: A 16x16 icon and a 24x24 icon, both with a color depth of 256. I intend to use both icon formats from this file using the following procedure:</DIV><DIV>&nbsp;</DIV><DIV>1) Load the icon file into the Resource File associated to my VB 6 project.</DIV><DIV>2) Instantiate a StdPicture object from the resource file using the LoadResPicture() function.</DIV><DIV>3) Pass the handle of the icon to the ShortcutBar control from the StdPicture object.</DIV><DIV>&nbsp;</DIV><DIV>I would expect the shortcutbar control to show both icon formats accordingly, but the 16x16 format is shown in the 24x24 place (a non-hidden item) and this format is shrinken in order to show it the 16x16 place (a hidden item);&nbsp; that is, the 24x24 format is ignored.</DIV><DIV>&nbsp;</DIV><DIV>Is this a normal behaviour of the ShortcutBar control? How can I show both icon formats from the same file?</DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot in advanced.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 25 Aug 2006 15:57:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4886&amp;PID=15228&amp;title=trouble-visualizing-2-icon-formats#15228</guid>
  </item> 
 </channel>
</rss>