<?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 : PaneLayout using SaveToFile</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : PaneLayout using SaveToFile]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 05:49:27 +0000</pubDate>
  <lastBuildDate>Thu, 22 Jan 2004 17:00:59 +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=379</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[PaneLayout using SaveToFile : Ok.. I modified the MDIPane example...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=379&amp;PID=840&amp;title=panelayout-using-savetofile#840</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=251">JamesC</a><br /><strong>Subject:</strong> 379<br /><strong>Posted:</strong> 22 January 2004 at 5:00pm<br /><br />Ok.. I modified the MDIPane example and discovered that the section name can not have spaces in it. Just incase anyone was wondering. That seemed to fix the problem.]]>
   </description>
   <pubDate>Thu, 22 Jan 2004 17:00:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=379&amp;PID=840&amp;title=panelayout-using-savetofile#840</guid>
  </item> 
  <item>
   <title><![CDATA[PaneLayout using SaveToFile : When I call the SaveToFile function...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=379&amp;PID=839&amp;title=panelayout-using-savetofile#839</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=251">JamesC</a><br /><strong>Subject:</strong> 379<br /><strong>Posted:</strong> 22 January 2004 at 3:43pm<br /><br /><P>When I call the SaveToFile function on the <FONT size=2>CXTPDockingPaneLayout, my app blows up. I am not sure what the problem is. In the OnCreate of the MDIClientWnd I call <FONT size=2>m_pLayout = m_paneManager.CreateLayout(); after I create the Panes that I want. I then try to read the file:</FONT></FONT></P><FONT size=2><P></FONT><B><FONT color=#0000ff size=2>if</B></FONT><FONT size=2> (m_pLayout-&gt;LoadFromFile("C:\\MyTest.txt", _T("My Test")))</P><P>{</P><P>&nbsp;&nbsp; m_paneManager.SetLayout(m_pLayout);</P><P>}</P><P>this does nothing since the file does not exist yet.... then in the OnDestroy I call the save...</P><FONT size=2><P>m_paneManager.GetLayout(m_pLayout);</P><P>m_pLayout-&gt;SaveToFile("<FONT size=2>C:\\MyTest.txt"</FONT>, _T("My Test"));</P><P>delete m_pLayout;</P><P>and it blows up in the SaveToNode inside SaveToFile.. actual line is line 584 of XTPDockingPaneLayout.cpp <FONT size=2></P><P>ASSERT(xmlElementPtr != 0);</P><P>I followed the examples and even modified others and tried it there and they work. What am I doing wrong. Thank in advance.</P></FONT></FONT></FONT><span style="font-size:10px"><br /><br />Edited by JamesC</span>]]>
   </description>
   <pubDate>Thu, 22 Jan 2004 15:43:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=379&amp;PID=839&amp;title=panelayout-using-savetofile#839</guid>
  </item> 
 </channel>
</rss>