<?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 : Restrict pane resize on Frame Resize</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Restrict pane resize on Frame Resize]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 08:20:25 +0000</pubDate>
  <lastBuildDate>Wed, 07 Mar 2012 21:25: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=19553</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[Restrict pane resize on Frame Resize :   I have a typical standard...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19553&amp;PID=67757&amp;title=restrict-pane-resize-on-frame-resize#67757</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4544">mojonez</a><br /><strong>Subject:</strong> 19553<br /><strong>Posted:</strong> 07 March 2012 at 9:25pm<br /><br />I have a typical standard frame window with a single docking pane manager with multiple panes.<div>&nbsp;</div><div>When the user resizes the&nbsp;frame window, i am trying to have&nbsp;only have&nbsp;particular&nbsp;pane(s) resize&nbsp;(e.g. all middle column panes)&nbsp; -&nbsp; not all panes resize gradually as is the default behavior.&nbsp; </div><div>&nbsp;</div><div>Sort of a "preferred pane size".</div><div>&nbsp;</div><div>In general, all panes have their own custom min/max sizes, so they are not restricted from being manually resized via their splitter directly, so i cant simply set their size as fixed.</div><div>&nbsp;</div><div>I tried freezing&nbsp;some panes size on main fame RecalcLayout before the size notify goes into the docking manager, then unfreezing them after, but this does not work (bad things happen in the thread when panemanager-&gt;RecalcFrameLayout(pane) is called).</div><div>&nbsp;</div><div><table width="99%"><tr><td><pre class="BBcode"></div><font color="#008000" size="2"><font color="#008000" size="2"><p>					CRect r = pane-&gt;GetPaneWindowRect();<br>sz.SetSize(r.Width(), r.Height());<br>pane-&gt;SetMinTrackSize(sz);<br>pane-&gt;SetMaxTrackSize(sz);<br>m_paneManager.RecalcFrameLayout(pane);</pre></td></tr></table></p><div>&#091;/code&#093;</font></div><div></font>Skipping the RecalcFrameLayout call doesnt seem to work either.</div><div>&nbsp;</div><div>Has anyone found a way to achieve this?</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Wed, 07 Mar 2012 21:25:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19553&amp;PID=67757&amp;title=restrict-pane-resize-on-frame-resize#67757</guid>
  </item> 
 </channel>
</rss>