<?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 : [SOLVED] HOWTO: Custom pane layout</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : [SOLVED] HOWTO: Custom pane layout]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 08:19:25 +0000</pubDate>
  <lastBuildDate>Tue, 16 Aug 2011 08:11:45 +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=18830</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[[SOLVED] HOWTO: Custom pane layout : Hi;My mistake! I used to call...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18830&amp;PID=65931&amp;title=solved-howto-custom-pane-layout#65931</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 18830<br /><strong>Posted:</strong> 16 August 2011 at 8:11am<br /><br />Hi;<br><br>My mistake! I used to call SetMinTrackSize() / SetMaxTrackSize() and assigned std::numeric_limits&lt;unsigned long&gt;::max() to the x component of max track size. This leads to weird results inside the toolkit code...<br>]]>
   </description>
   <pubDate>Tue, 16 Aug 2011 08:11:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18830&amp;PID=65931&amp;title=solved-howto-custom-pane-layout#65931</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] HOWTO: Custom pane layout :  Hi;I use below code to create...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18830&amp;PID=65930&amp;title=solved-howto-custom-pane-layout#65930</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 18830<br /><strong>Posted:</strong> 16 August 2011 at 7:51am<br /><br />Hi;<br><br>I use below code to create 4 docking panes. Two of them are closed just after creation and the other two should be shown on startup. This is the first problem - the wrong panes are shown and I'm definitely not using a loaded pane manager layout.<br><table width="99%"><tr><td><pre class="BBcode">CXTPDockingPane* pwndPane1 = paneManager_.CreatePane(IDR_PANE_BOOKKEEPING, CRect(0, 0, 400, 200), xtpPaneDockTop);<br><br>&nbsp;&nbsp;&nbsp; pwndPane1-&gt;SetOptions(xtpPaneNoCaption|xtpPaneNoFloatable);<br>&nbsp;&nbsp;&nbsp; pwndPane1-&gt;Close();<br><br>&nbsp;&nbsp;&nbsp; CXTPDockingPane* pwndPane2 = paneManager_.CreatePane(IDR_PANE_ANALYSIS_DETAIL, CRect(0, 0,200, 250), xtpPaneDockRight);<br><br>&nbsp;&nbsp;&nbsp; pwndPane2-&gt;SetOptions(xtpPaneNoCaption|xtpPaneNoFloatable);<br>&nbsp;&nbsp;&nbsp; pwndPane2-&gt;Close();<br><br><br>&nbsp;&nbsp;&nbsp; CXTPDockingPane* pwndPane3 = paneManager_.CreatePane(IDR_PANE_OPTION_TREE, CRect(0, 0, 200, 120), xtpPaneDockLeft);<br>&nbsp;&nbsp;&nbsp; CXTPDockingPane* pwndPane4 = paneManager_.CreatePane(IDR_PANE_TAGLIST, CRect(0, 0, 250, 250), xtpPaneDockRight);</pre></td></tr></table><br>Whenever the user executes a special command, the first two panes are hidden and the initially closed panes are shown. This works, but the layout of the panes is wrong. As soon as I set the options xtpPaneNoCaption|xtpPaneNoFloatable I'm unable to programmatically achieve a layout as shown by the red rectangles in the screenshot below:<br><br><img src="uploads/109/16-08-2011_13-34-03.png" height="429" width="758" border="0" /><br><br>How do I have to change my code to get the desired result?<br>]]>
   </description>
   <pubDate>Tue, 16 Aug 2011 07:51:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18830&amp;PID=65930&amp;title=solved-howto-custom-pane-layout#65930</guid>
  </item> 
 </channel>
</rss>