<?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 : Rectangular Tab Icons</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Rectangular Tab Icons]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 06 Jun 2026 16:52:54 +0000</pubDate>
  <lastBuildDate>Wed, 29 May 2013 10:16:31 +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=21681</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[Rectangular Tab Icons : Hello.I am trying to set rectangular...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21681&amp;PID=71006&amp;title=rectangular-tab-icons#71006</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7103">GARC</a><br /><strong>Subject:</strong> 21681<br /><strong>Posted:</strong> 29 May 2013 at 10:16am<br /><br />Hello.<br><br>I am trying to set rectangular tab icons for my docking panes. I have created an image list of 5 images of 72x36 pixels each. This is the piece of code I am using to assign these images to the tab icons inside my OnCreate function:<br><br><font face="Courier New, Courier, mono" size="1">m_PaneManager.GetPaintManager()-&gt;GetTabPaintManager()-&gt;m_szIcon = CSize(72, 36);<br>CXTPImageManager* icons_manager = m_PaneManager.GetImageManager();<br>icons_manager-&gt;SetIcons(m_tabs_image_list, nIDIcons, _countof(nIDIcons), CSize(72, 36), xtpImageNormal);</font><br><br>Once executed, I notice that the tabs are higher than desired as shown in the following picture:<br><img src="uploads/7103/codejock_tabs.png" height="100" width="585" border="0" /><br><br>As you can see, despite the images are shown correctly, and although the size of the icons has been set to CSize(72,36) as shown in the code, it seems to be forced to show a square 72x72 icon size, producing those undesireble margins up and down each image.<br>How can I get rid of those margins and maintain the height of the tabs in 36 pixels?<br><br>Thanks in advance.<br>Alex.<br><br>]]>
   </description>
   <pubDate>Wed, 29 May 2013 10:16:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21681&amp;PID=71006&amp;title=rectangular-tab-icons#71006</guid>
  </item> 
 </channel>
</rss>