<?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 : Set pane size</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Set pane size]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 15 Jun 2026 05:17:58 +0000</pubDate>
  <lastBuildDate>Wed, 28 Jun 2006 10:31:56 +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=4497</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[Set pane size : but when you do it this way, the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4497&amp;PID=13898&amp;title=set-pane-size#13898</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=389">yoavo</a><br /><strong>Subject:</strong> 4497<br /><strong>Posted:</strong> 28 June 2006 at 10:31am<br /><br />but when you do it this way, the splitter between the panes does not working anymore...]]>
   </description>
   <pubDate>Wed, 28 Jun 2006 10:31:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4497&amp;PID=13898&amp;title=set-pane-size#13898</guid>
  </item> 
  <item>
   <title><![CDATA[Set pane size : You can see the PaneSample for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4497&amp;PID=13893&amp;title=set-pane-size#13893</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 4497<br /><strong>Posted:</strong> 28 June 2006 at 9:42am<br /><br />You can see the PaneSample for more on how to do this.<br><br>Look at this function:<br><br>void CMainFrame::OnMinMaxSamlpe()<br>{<br>&nbsp;&nbsp;&nbsp; m_bMinMaxSample = !m_bMinMaxSample;<br><br>&nbsp;&nbsp;&nbsp; if (m_bMinMaxSample)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPDockingPane* pPane = m_paneManager.FindPane(IDR_PANE1);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ASSERT(pPane);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPane-&gt;SetMinTrackSize(CSize(100, 100));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPane-&gt;SetMaxTrackSize(CSize(150, 150));<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPane = m_paneManager.FindPane(IDR_PANE2);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ASSERT(pPane);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPane-&gt;SetMinTrackSize(CSize(130, 130));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPane-&gt;SetMaxTrackSize(CSize(130, 130));<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPDockingPane* pPane = m_paneManager.FindPane(IDR_PANE1);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ASSERT(pPane);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPane-&gt;SetMinTrackSize(CSize(0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPane-&gt;SetMaxTrackSize(CSize(32000, 32000));<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPane = m_paneManager.FindPane(IDR_PANE2);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ASSERT(pPane);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPane-&gt;SetMinTrackSize(CSize(0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pPane-&gt;SetMaxTrackSize(CSize(32000, 32000));<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; for (int i = 0; i &lt; sizeof(m_wndPanes) / sizeof(m_wndPanes&#091;0&#093;); i++)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (m_wndPanes<em>.m_hWnd)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_wndPanes<em>.OnSize(0, 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_wndPanes<em>.RedrawWindow();<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; GetDockingPaneManager()-&gt;RedrawPanes();<br>}<br>]]>
   </description>
   <pubDate>Wed, 28 Jun 2006 09:42:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4497&amp;PID=13893&amp;title=set-pane-size#13893</guid>
  </item> 
  <item>
   <title><![CDATA[Set pane size : it didnt solve the problem. Isn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4497&amp;PID=13883&amp;title=set-pane-size#13883</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=389">yoavo</a><br /><strong>Subject:</strong> 4497<br /><strong>Posted:</strong> 28 June 2006 at 12:36am<br /><br />it didnt solve the problem.<DIV>Isn't there a method which allows me to change the size of a docked pane (as in FloatPane) ?</DIV>]]>
   </description>
   <pubDate>Wed, 28 Jun 2006 00:36:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4497&amp;PID=13883&amp;title=set-pane-size#13883</guid>
  </item> 
  <item>
   <title><![CDATA[Set pane size : Maybe something like this, you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4497&amp;PID=13864&amp;title=set-pane-size#13864</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 4497<br /><strong>Posted:</strong> 27 June 2006 at 10:12am<br /><br />Maybe something like this, you set the min and max height to the same size, then save the splitter positions, then chnage the min\max height\width back to what you want the user to be able to resize:<br><br>pPane-&gt;SetMinTrackSize(CSize(150, 150));<br>pPane-&gt;SetMaxTrackSize(CSize(150, 150));<br><br>GetDockingPaneManager()-&gt;NormalizeSplitters();<br><br>pPane-&gt;SetMinTrackSize(CSize(50,50));<br>pPane-&gt;SetMaxTrackSize(CSize(32000,20));<br>]]>
   </description>
   <pubDate>Tue, 27 Jun 2006 10:12:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4497&amp;PID=13864&amp;title=set-pane-size#13864</guid>
  </item> 
  <item>
   <title><![CDATA[Set pane size : I have 2 panes docked to the left,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4497&amp;PID=13860&amp;title=set-pane-size#13860</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=389">yoavo</a><br /><strong>Subject:</strong> 4497<br /><strong>Posted:</strong> 27 June 2006 at 8:55am<br /><br />I have 2 panes docked to the left, one on top of the other (they have the same height).<DIV>How can I change programaticaly their height ?</DIV><DIV>&nbsp;</DIV><DIV>Yoav.</DIV>]]>
   </description>
   <pubDate>Tue, 27 Jun 2006 08:55:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4497&amp;PID=13860&amp;title=set-pane-size#13860</guid>
  </item> 
 </channel>
</rss>