<?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 : Retreiving the Docking pane status</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Retreiving the Docking pane status]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 01:58:27 +0000</pubDate>
  <lastBuildDate>Thu, 30 Jul 2009 02:23:34 +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=14860</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[Retreiving the Docking pane status : Just copy it from samples:  //...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14860&amp;PID=51454&amp;title=retreiving-the-docking-pane-status#51454</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14860<br /><strong>Posted:</strong> 30 July 2009 at 2:23am<br /><br /><DIV>Just copy it from samples:</DIV><DIV>&nbsp;</DIV><DIV>// Load the previous state for docking panes.<BR>&nbsp;CXTPDockingPaneLayout layoutNormal(&amp;m_paneManager);<BR>&nbsp;if (layoutNormal.Load(_T("NormalLayout")))<BR>&nbsp;{<BR>&nbsp;&nbsp;m_paneManager.SetLayout(&amp;layoutNormal);<BR>&nbsp;}</DIV><DIV>&nbsp;</DIV><DIV>...</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;// Save the current state for docking panes.<BR>&nbsp;CXTPDockingPaneLayout layoutNormal(&amp;m_paneManager);<BR>&nbsp;m_paneManager.GetLayout(&amp;layoutNormal);<BR>&nbsp;layoutNormal.Save(_T("NormalLayout"));</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 30 Jul 2009 02:23:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14860&amp;PID=51454&amp;title=retreiving-the-docking-pane-status#51454</guid>
  </item> 
  <item>
   <title><![CDATA[Retreiving the Docking pane status : Hi,  I am having Docking panes...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14860&amp;PID=51429&amp;title=retreiving-the-docking-pane-status#51429</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4142">Atul</a><br /><strong>Subject:</strong> 14860<br /><strong>Posted:</strong> 29 July 2009 at 8:52am<br /><br />Hi, <br>&nbsp;&nbsp;&nbsp;&nbsp; I am having Docking panes in my application. Now I want my application to remember the status of the docking panes(which one is active, it's co-ordinates etc) when i close the session, and retrieve the status back, when a new session launches. While searching, i came across a XTPDockingPaneLayout class.<br><br>In my Mainframe.cpp I do :<br><br>m_paneManager.AttachPane(pwndPane2 , pwndPane1);<br>m_paneManager.AttachPane(pwndPane3 , pwndPane1);<br>m_paneManager.AttachPane(pwndPane7 , pwndPane1);<br><br>// Load the previous state for docking panes.<br>CXTPDockingPaneLayout layoutNormal(&amp;m_paneManager);<br>// I do call the Load function <br>BOOL is_layout_loaded = layoutNormal.Load(_T("NormalLayout"));<br>// this returns success.<br><br>But i don't get the status of the docking panes right.<br>I do&nbsp; <br><br>CMainFrame::~CMainFrame()<br>{<br>// Saving the layout when the application is terminating ... Atul.V 29th July 2009<br>CXTPDockingPaneLayout layoutNormal(&amp;m_paneManager);<br>layoutNormal.Save(_T("NormalLayout"));<br>}<br><br>Am i missing anything ?<br>I am using XTP 13.0.0. <br><br>Thanks in Advance,<br>Atul<br>]]>
   </description>
   <pubDate>Wed, 29 Jul 2009 08:52:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14860&amp;PID=51429&amp;title=retreiving-the-docking-pane-status#51429</guid>
  </item> 
 </channel>
</rss>