<?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 : Docking Panes&#146; tabs size</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Docking Panes&#146; tabs size]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 06:07:19 +0000</pubDate>
  <lastBuildDate>Thu, 21 Jul 2005 10:35:38 +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=2603</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[Docking Panes&#146; tabs size : It works fine! Thank you very...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2603&amp;PID=7783&amp;title=docking-panes-tabs-size#7783</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=845">VAGB</a><br /><strong>Subject:</strong> 2603<br /><strong>Posted:</strong> 21 July 2005 at 10:35am<br /><br /><P>It works fine!</P><P>Thank you very much Oleg.</P>]]>
   </description>
   <pubDate>Thu, 21 Jul 2005 10:35:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2603&amp;PID=7783&amp;title=docking-panes-tabs-size#7783</guid>
  </item> 
  <item>
   <title><![CDATA[Docking Panes&#146; tabs size : Hi,  try m_paneManager.GetPa...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2603&amp;PID=7778&amp;title=docking-panes-tabs-size#7778</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2603<br /><strong>Posted:</strong> 21 July 2005 at 8:01am<br /><br /><P><FONT size=2>Hi, </FONT></P><P><FONT size=2>try</FONT></P><P><FONT size=2>m_paneManager.</FONT>GetPaintManager()-&gt;GetTabPaintManager()-&gt;m_szIcon = CSize(<FONT size=2>36</FONT>, <FONT size=2>36</FONT>);</P>]]>
   </description>
   <pubDate>Thu, 21 Jul 2005 08:01:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2603&amp;PID=7778&amp;title=docking-panes-tabs-size#7778</guid>
  </item> 
  <item>
   <title><![CDATA[Docking Panes&#146; tabs size : Hi. I am trying to change the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2603&amp;PID=7750&amp;title=docking-panes-tabs-size#7750</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=845">VAGB</a><br /><strong>Subject:</strong> 2603<br /><strong>Posted:</strong> 20 July 2005 at 4:21am<br /><br /><P>Hi.</P><P>I am trying to change the icons of a group of 5 docking panes with those of an Image List with a size of 36 square pixels each. The problem I am involved is that when those docking panes are showed the icons inside are small and not 36 pixels height. It seems that the tabs of the docking panes are always the same size and donīt rescale according to the icons size. As I donīt understand too much the structure and architecture of docking panes I have not found any way to make those tabs and icons be drawn properly. The lines of code where I implement the icons are these:</P><FONT color=#008000><P><FONT size=2>//&nbsp;Creation of docking panes.</FONT></P><P></FONT><FONT color=#000000 size=2>CXTPDockingPane* pwndPane1 = m_paneManager.CreatePane(IDR_PANE_1, CRect(0, 0, 200, 120), xtpPaneDockLeft);</FONT></P><P><FONT color=#000000 size=2>CXTPDockingPane* pwndPane2 = m_paneManager.CreatePane(IDR_PANE_2, CRect(0, 0, 200, 120), xtpPaneDockBottom, pwndPane1);</FONT></P><P><FONT color=#000000 size=2>CXTPDockingPane* pwndPane3 = m_paneManager.CreatePane(IDR_PANE_3, CRect(200, 0, 200, 120), xtpPaneDockBottom, pwndPane2);</FONT></P><P><FONT color=#000000 size=2>CXTPDockingPane* pwndPane4 = m_paneManager.CreatePane(IDR_PANE_4, CRect(200, 0, 200, 120), xtpPaneDockBottom, pwndPane3);</FONT></P><P><FONT color=#000000 size=2>CXTPDockingPane* pwndPane5 = m_paneManager.CreatePane(IDR_PANE_5, CRect(200, 0, 200, 120), xtpPaneDockBottom, pwndPane4);</FONT></P><P><FONT color=#000000 size=2>UINT nIDIcons&#091;&#093; = {IDR_PANE_1, IDR_PANE_2, IDR_PANE_3, IDR_PANE_4, IDR_PANE_5};</FONT></P><FONT color=#c0c0c0><P></FONT><FONT size=2><FONT color=#0000ff>if</FONT><FONT color=#c0c0c0> </FONT><FONT color=#000000>(!m_image_list.Create(36, 36, </FONT><FONT color=#008000>/*ILC_MASK |*/</FONT></FONT><FONT color=#c0c0c0><FONT size=2> <FONT color=#000000>ILC_COLOR24, 0, 0))</FONT></FONT></P><P><FONT color=#000000 size=2>{</FONT></P><P></FONT><FONT color=#000000 size=2>TRACE0(</FONT><B><FONT color=#ff0000><FONT size=2>"Failed creating image list.\n"</FONT></B></FONT><FONT color=#c0c0c0><FONT color=#000000 size=2>);</FONT></P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT color=#c0c0c0><FONT size=2> <FONT color=#000000>-1;</FONT></FONT></P><P></FONT><FONT color=#000000 size=2>}</FONT><FONT color=#008000><FONT size=2>//if</FONT></P></FONT><FONT color=#c0c0c0><P></FONT><FONT color=#000000 size=2>CBitmap bitmap;</FONT></P><P><FONT color=#c0c0c0><FONT color=#000000 size=2>bitmap.LoadBitmap(IDB_TAB_ICONS);</FONT></P><P><FONT color=#000000 size=2>m_image_list.Add(&amp;bitmap, RGB(0x00, 0x80, 0x80));</FONT></P><P><FONT color=#000000 size=2>CXTPImageManager* icons_manager = m_paneManager.GetImageManager();</FONT></P><P><FONT color=#000000 size=2>icons_manager-&gt;SetIcons(m_image_list, nIDIcons, _countof(nIDIcons), CSize(36, 36), xtpImageNormal);</FONT></P><P><FONT color=#000000 size=1>I donīt know if my code is wrong or something is missed. In fact the icons are found and displayed but are rescaled to fit the tabs instead of&nbsp;being those tabs to be rescaled to fit the icons.</FONT></P><P><FONT color=#000000 size=1>Can anyone help me or give any suggestion?</FONT></P><P><FONT color=#000000 size=1>Thanks in advance.</FONT></P></FONT>]]>
   </description>
   <pubDate>Wed, 20 Jul 2005 04:21:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2603&amp;PID=7750&amp;title=docking-panes-tabs-size#7750</guid>
  </item> 
 </channel>
</rss>