<?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 : Change order of docking pane tabs</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Change order of docking pane tabs]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 12:13:51 +0000</pubDate>
  <lastBuildDate>Tue, 27 Mar 2007 13:55:06 +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=5971</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[Change order of docking pane tabs : Brilliant, that worked!!!  The...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=21507&amp;title=change-order-of-docking-pane-tabs#21507</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2843">joecasa</a><br /><strong>Subject:</strong> 5971<br /><strong>Posted:</strong> 27 March 2007 at 1:55pm<br /><br />Brilliant, that worked!!!<DIV>&nbsp;</DIV><DIV>The problem was I was trying to do something like </DIV><DIV>&nbsp;</DIV><DIV>b.AttachFrame(a)</DIV><DIV>c.AttachFrame(b)</DIV><DIV>d.AttachFrame(c)</DIV><DIV>&nbsp;</DIV><DIV>but if you do:</DIV><DIV>&nbsp;</DIV><DIV>b.AttachFrame(a)</DIV><DIV>c.AttachFrame(a)</DIV><DIV>d.AttachFrame(a)</DIV><DIV>&nbsp;</DIV><DIV>Then it works as desired. Otherwise, when I tried to attach c to b, a would become detached and then attach d to c, b would become detached.</DIV><DIV>&nbsp;</DIV><DIV>I'm using the active x controls in .NET but seeing your example gave me the correct hint to solve this issue.</DIV><DIV>&nbsp;</DIV><DIV>Thank you Barto!!</DIV>]]>
   </description>
   <pubDate>Tue, 27 Mar 2007 13:55:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=21507&amp;title=change-order-of-docking-pane-tabs#21507</guid>
  </item> 
  <item>
   <title><![CDATA[Change order of docking pane tabs : here&amp;#039;s a sample code from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=21487&amp;title=change-order-of-docking-pane-tabs#21487</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1011">Barto</a><br /><strong>Subject:</strong> 5971<br /><strong>Posted:</strong> 27 March 2007 at 4:59am<br /><br />here's a sample code from my application where 4 panes are attached programmatically (as seen in your screenshot):<DIV><FONT size=2><P>CXTPDockingPane* pPaneObjFsm = m_paneManager.CreatePane(IDR_PANE_OBJ_FSM, CRect(0, 0, 200, 400), xtpPaneDockBottom);</P><P>CXTPDockingPane* pPaneObjScript = m_paneManager.CreatePane(IDR_PANE_OBJ_SCRIPT, CRect(0, 0, 200, 400), xtpPaneDockBottom);</P><P>CXTPDockingPane* pPaneObjCollision = m_paneManager.CreatePane(IDR_PANE_OBJ_COLLISION, CRect(0, 0, 200, 400), xtpPaneDockBottom);</P><P>CXTPDockingPane* pPaneObjParticles = m_paneManager.CreatePane(IDR_PANE_OBJ_PARTICLES, CRect(0, 0, 200, 400), xtpPaneDockBottom);</P><P>CXTPDockingPane* pPaneObjSearch = m_paneManager.CreatePane(IDR_PANE_OBJ_SEARCH, CRect(0, 0, 200, 400), xtpPaneDockBottom);</P><P>m_paneManager.AttachPane(pPaneObjScript, pPaneObjFsm);</P><P>m_paneManager.AttachPane(pPaneObjCollision, pPaneObjFsm);</P><P>m_paneManager.AttachPane(pPaneObjParticles, pPaneObjFsm);</P><P>m_paneManager.AttachPane(pPaneObjSearch, pPaneObjFsm);</P></FONT></DIV>]]>
   </description>
   <pubDate>Tue, 27 Mar 2007 04:59:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=21487&amp;title=change-order-of-docking-pane-tabs#21487</guid>
  </item> 
  <item>
   <title><![CDATA[Change order of docking pane tabs : Actually, the original layout...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=21483&amp;title=change-order-of-docking-pane-tabs#21483</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 5971<br /><strong>Posted:</strong> 27 March 2007 at 1:24am<br /><br />Actually, the original layout in the screenshot above was not achievedprogramatically, but I think CXTPDockingPaneManager::AttachPane() isthe right method to use for what you want to do.<br>If you have problems with using it (as you say you have), you might found a bug. Or maybe a version update may help.]]>
   </description>
   <pubDate>Tue, 27 Mar 2007 01:24:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=21483&amp;title=change-order-of-docking-pane-tabs#21483</guid>
  </item> 
  <item>
   <title><![CDATA[Change order of docking pane tabs : This is sort of off topic, but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=21469&amp;title=change-order-of-docking-pane-tabs#21469</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2843">joecasa</a><br /><strong>Subject:</strong> 5971<br /><strong>Posted:</strong> 26 March 2007 at 4:49pm<br /><br />This is sort of off topic, but how did you programatically attach three&nbsp;panes like that?<DIV>&nbsp;</DIV><DIV>I've tried but after I attach two frames together, if I try to attach a third pane, it essentially de tatches the the first pane.</DIV><DIV>&nbsp;</DIV><DIV>I want to attach four panes together across the bottom of my form so I have 4 tabs but so far the closest I've been able to get is two sets of two tabs. </DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance for your help.</DIV>]]>
   </description>
   <pubDate>Mon, 26 Mar 2007 16:49:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=21469&amp;title=change-order-of-docking-pane-tabs#21469</guid>
  </item> 
  <item>
   <title><![CDATA[Change order of docking pane tabs : Thank you, oleg, it works!  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=18789&amp;title=change-order-of-docking-pane-tabs#18789</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 5971<br /><strong>Posted:</strong> 04 January 2007 at 4:19am<br /><br />Thank you, oleg, it works!<br>]]>
   </description>
   <pubDate>Thu, 04 Jan 2007 04:19:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=18789&amp;title=change-order-of-docking-pane-tabs#18789</guid>
  </item> 
  <item>
   <title><![CDATA[Change order of docking pane tabs : Hi,  Check soruces of CXTPDo...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=18763&amp;title=change-order-of-docking-pane-tabs#18763</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5971<br /><strong>Posted:</strong> 03 January 2007 at 6:41am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Check soruces of CXTPDockingPaneTabbedContainer::OnMouseMove</DIV><DIV>&nbsp;</DIV><DIV>you need get parent tabbbedcontainer:</DIV><DIV>&nbsp;</DIV><DIV>pPaneFileView-&gt;GetParentContainer().</DIV><DIV>&nbsp;</DIV><DIV>get list of panes in tabbedcontainer:</DIV><DIV>&nbsp;</DIV><DIV>pContainer-&gt;GetPanes();</DIV><DIV>&nbsp;</DIV><DIV>and switch panes:</DIV><DIV>&nbsp;</DIV><DIV>void CXTPDockingPaneTabbedContainer::_Swap(CXTPDockingPane* p1, CXTPDockingPane* p2)<BR>{<BR>&nbsp;POSITION pos1 = m_lstPanes.Find(p1);<BR>&nbsp;POSITION pos2 = m_lstPanes.Find(p2);<BR>&nbsp;ASSERT(pos1 &amp;&amp; pos2);</DIV><DIV>&nbsp;m_lstPanes.SetAt(pos1, p2);<BR>&nbsp;m_lstPanes.SetAt(pos2, p1);<BR>}</DIV>]]>
   </description>
   <pubDate>Wed, 03 Jan 2007 06:41:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=18763&amp;title=change-order-of-docking-pane-tabs#18763</guid>
  </item> 
  <item>
   <title><![CDATA[Change order of docking pane tabs : Hello,I have several panes attached...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=18761&amp;title=change-order-of-docking-pane-tabs#18761</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 5971<br /><strong>Posted:</strong> 03 January 2007 at 6:03am<br /><br />Hello,<br><br>I have several panes attached into the same floating holder and I need to move my 2nd tab to the left (so that it would be the 1st tab).<br>How do you do this from code?<br><br><img src="uploads/20070103_055952_change_tabs_ord.JPG" height="182" width="604" border="0"><br><br>Also, how do I get the position of my tab (2nd out of 3 tabs in the floating holder)?<br><br>Thanks a lot, in advance!<br><br>]]>
   </description>
   <pubDate>Wed, 03 Jan 2007 06:03:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5971&amp;PID=18761&amp;title=change-order-of-docking-pane-tabs#18761</guid>
  </item> 
 </channel>
</rss>