<?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 : Preserving pane order</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Preserving pane order]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 09 Jun 2026 21:39:22 +0000</pubDate>
  <lastBuildDate>Sun, 22 Feb 2009 19:36: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=13462</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[Preserving pane order : I have figured out a way to get...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13462&amp;PID=45738&amp;title=preserving-pane-order#45738</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 13462<br /><strong>Posted:</strong> 22 February 2009 at 7:36pm<br /><br />I have figured out a way to get the order correct when recreating the panes. I have to go to each CXTPDockingPaneTabbedContainer and iterate the item panes.&nbsp;GetItemPane is indexed by the physical tab position so that bypasses the fact that the pane manager and layout objects all enumerate in the order panes were originally created.<DIV>&nbsp;</DIV><DIV>So now I can modify the UI and restore it without panes moving relative to each other.</DIV>]]>
   </description>
   <pubDate>Sun, 22 Feb 2009 19:36:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13462&amp;PID=45738&amp;title=preserving-pane-order#45738</guid>
  </item> 
  <item>
   <title><![CDATA[Preserving pane order : I have a number of panes docked...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13462&amp;PID=45692&amp;title=preserving-pane-order#45692</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 13462<br /><strong>Posted:</strong> 20 February 2009 at 4:16pm<br /><br />I have a number of panes docked together in one or more docking pane containers. I need to "remove" some of the panes temporarily and restore them back later.<DIV>&nbsp;</DIV><DIV>I am finding this a hard task to accomplish. I don't want save the layout and reload it since all the docking panes empty (and the background is drawn) and then come back. This is overkill. So what I found I can do is get all the panes that are displayed, and save their IDs in&nbsp;a stl vector using push_back. Then I save the IDs of the panes I don't close in another vector. Later to restore with a minimum of display issues I close those in the vector of panes I did not originally close. Then I call ShowPane on the vector I populated with all the panes that were originally displayed.</DIV><DIV>&nbsp;</DIV><DIV>This works great and the order of the panes is the original order before all this happend.</DIV><DIV>&nbsp;</DIV><DIV>However, if I reorder the display of the panes by mousing down over a "tab" and moving a pane, I am finding that when I call GetPaneList on the pane manager and then enumerate (GetHeadPosition, GetNext) the panes, the order the manager gives out the panes is NOT the order they are displayed in.</DIV><DIV>&nbsp;</DIV><DIV>I don't see a way to determine an "order" by getting the layout or by using the tabbed container (I don't see any methods that would give me this info).</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>So ...</DIV><DIV>&nbsp;</DIV><DIV>How can I get the panes in the order they are displayed in a tabbed container?</DIV><DIV>&nbsp;</DIV><DIV>or even better, what do I need to do in order to close a pane and then open it so that it comes back exactly where it was before I closed it? Note I don't have to necessary "close" the pane. I just want it undisplayed so the user cannot interact with the contents (before moving to codejock we used a property sheet and simply disabled the tabs for the items we wanted to temporarily prevent the user from accessing).</DIV>]]>
   </description>
   <pubDate>Fri, 20 Feb 2009 16:16:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13462&amp;PID=45692&amp;title=preserving-pane-order#45692</guid>
  </item> 
 </channel>
</rss>