<?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 : Regarding Width of the docking pane</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Regarding Width of the docking pane]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 00:35:54 +0000</pubDate>
  <lastBuildDate>Fri, 24 Apr 2009 06:59:27 +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=14134</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[Regarding Width of the docking pane : Hi All,I have a question regarding...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14134&amp;PID=48320&amp;title=regarding-width-of-the-docking-pane#48320</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3432">terminator_123</a><br /><strong>Subject:</strong> 14134<br /><strong>Posted:</strong> 24 April 2009 at 6:59am<br /><br /><br>Hi All,<br><br>I have a question regarding the width of docking panes in normal and docked states. <br>If we create a docking pane with width W and dock it to left side by clicking the pin icon, it seems that the pane width gets shrunk by 4 pixels.<br>But once I pin the pane back by clicking on the icon again, the width will again be reset to W. Is there any way to correctly get the width of the<br>pane even in unpinned/docked state ? Please refer the code below:<br><br>// creation of docking pane with width = nWidth. Assume m_panemanager is of type CXTPDockingPaneManager<br>CXTPDockingPane* pTOCListPane = m_paneManager.CreatePane(IDR_PANE_OPTIONS, CRect(0, 0, nWidth, 0), xtpPaneDockLeft);<br><br>// before docking/unpinning if we query width using this code we get nWidth correctly<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CRect cRect(0,0,0,0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cRect = pTOCListPane-&gt;GetPaneWindowRect ();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; int nWidth = cRect.Width();<br><br>// but after docking/unpinning, we get width as ( nWidth - 4 )<br><br>Can any one suggest alternative to using +4 as offset.<br><br>Thanks,<br>Pavan<br><br>]]>
   </description>
   <pubDate>Fri, 24 Apr 2009 06:59:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14134&amp;PID=48320&amp;title=regarding-width-of-the-docking-pane#48320</guid>
  </item> 
 </channel>
</rss>