<?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 : Ic&#111;n Size</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Ic&#111;n Size]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 13:19:55 +0000</pubDate>
  <lastBuildDate>Tue, 30 Dec 2003 14:22:00 +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=263</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[Ic&#111;n Size : I think I narowed this down to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=263&amp;PID=715&amp;title=icon-size#715</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 263<br /><strong>Posted:</strong> 30 December 2003 at 2:22pm<br /><br /><P>I think I narowed this down to be an issue with the resource editor in VB. Sorry, this is also a double post.</P><P>When using LoadResPicture in VB, it seems to always load icons 32X32 pixels, which looks ugly on the docking panes.</P><P>I've had luck resizing the icons using code such as:</P><P>Private Declare Function CopyImage Lib "user32" (ByVal handle As Long, ByVal imageType As Long, ByVal newWidth As Long, ByVal newHeight As Long, ByVal lFlags As Long) As Long</P><P>Private Cons IMAGE_ICON=2</P><P>Private Const LR_COPYFROMRESOURCE =3</P><P>&nbsp;&nbsp; Dim p As stdole.IPictureDisp<BR>&nbsp;&nbsp; Set p = LoadResPicture(101, 1)<BR>&nbsp;&nbsp;&nbsp;Dim l As Long<BR>&nbsp;&nbsp; l = CopyImage(p.handle, IMAGE_ICON, 16, 16, LR_COPYFROMRESOURCE)</P><P>&nbsp; DockingPane.AddIconHandle (l,ID)</P><P>The code above will resize the icon in the resource file to 16X16.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 30 Dec 2003 14:22:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=263&amp;PID=715&amp;title=icon-size#715</guid>
  </item> 
  <item>
   <title><![CDATA[Ic&#111;n Size : Oleg, Dim p As IPictureDispSet...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=263&amp;PID=645&amp;title=icon-size#645</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 263<br /><strong>Posted:</strong> 09 December 2003 at 6:08am<br /><br /><P>Oleg,</P><P>Dim p As IPictureDisp<BR>Set p = LoadResPicture(101, 1)<BR>DockingManager.AddIconHandle p.Handle, UID</P><P>Dim DockingPaneAs XtremeDockingPane.pane</P><P>Set DockingPane = DockingManager.CreatePane(UID, cx, cy, dockingDirection, Nothing)</P>]]>
   </description>
   <pubDate>Tue, 09 Dec 2003 06:08:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=263&amp;PID=645&amp;title=icon-size#645</guid>
  </item> 
  <item>
   <title><![CDATA[Ic&#111;n Size : How do you load the icons? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=263&amp;PID=640&amp;title=icon-size#640</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 263<br /><strong>Posted:</strong> 09 December 2003 at 1:49am<br /><br />How do you load the icons?]]>
   </description>
   <pubDate>Tue, 09 Dec 2003 01:49:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=263&amp;PID=640&amp;title=icon-size#640</guid>
  </item> 
  <item>
   <title><![CDATA[Ic&#111;n Size : Docking Pane 8.6 ActiveX: I am...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=263&amp;PID=602&amp;title=icon-size#602</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 263<br /><strong>Posted:</strong> 03 December 2003 at 12:01am<br /><br /><P>Docking Pane 8.6 ActiveX:</P><P>I am using AddIconHandle to load an icon from a resource file. The icon is 16x16 only. The icon gets displayed as 32x32 on the pane.</P><P>Any ideas?</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 03 Dec 2003 00:01:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=263&amp;PID=602&amp;title=icon-size#602</guid>
  </item> 
 </channel>
</rss>