<?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 : SetLayout - Version conflict</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : SetLayout - Version conflict]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 19:18:30 +0000</pubDate>
  <lastBuildDate>Wed, 02 Apr 2008 08:48:00 +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=10035</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[SetLayout - Version conflict : Thanks, you are right. beta release...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10035&amp;PID=32963&amp;title=setlayout-version-conflict#32963</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10035<br /><strong>Posted:</strong> 02 April 2008 at 8:48am<br /><br />Thanks, you are right. beta release gives good results :)<DIV>&nbsp;</DIV><DIV>Please just replace </DIV><DIV>&nbsp;</DIV><DIV>secSummary-&gt;ExchangeSchema</DIV><DIV>&nbsp;</DIV><DIV>to</DIV><DIV>&nbsp;</DIV><DIV>pPX-&gt;ExchangeSchema();</DIV><DIV>&nbsp;</DIV><DIV>in both _Save and _Load methods.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Fixed for final 12.0 release.</DIV>]]>
   </description>
   <pubDate>Wed, 02 Apr 2008 08:48:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10035&amp;PID=32963&amp;title=setlayout-version-conflict#32963</guid>
  </item> 
  <item>
   <title><![CDATA[SetLayout - Version conflict : Hi    I am storing the panelayout...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10035&amp;PID=32961&amp;title=setlayout-version-conflict#32961</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2024">MGebler</a><br /><strong>Subject:</strong> 10035<br /><strong>Posted:</strong> 02 April 2008 at 8:22am<br /><br />Hi<DIV></DIV><DIV></DIV><DIV></DIV><DIV>I am storing the panelayout inside my documents using:</DIV><DIV><FONT size=2>&nbsp;<BR></FONT><FONT face="Courier New, Courier, mono" size=2>CXTPDockingPaneLayout* pLayout =&nbsp;<BR>&nbsp; GetPaneManager()-&gt;CreateLayout();<BR>CArchive ar( pMemFile, CArchive::load );<BR>pLayout-&gt;Serialize( ar );<BR>GetPaneManager()-&gt;SetLayout( pLayout );</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I have done this with all versions since v10...</FONT></DIV><DIV><FONT size=2>Now, using the beta version v12.0.0, there is a compatibility problem.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Inside the <FONT size=2>CXTPDockingPaneTabbedContainer::DoPropExchange method you are loading the "Maximized" boolean value if </FONT></FONT></DIV><DIV><FONT size=2>GetSchema() returns a value greater <FONT size=2>_XTP_SCHEMA_1122 allthough the layout information was stored using version 11.2.2.</FONT></FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>If I overwrite the Schema value with _XTP_SCHEMA_1122 inside the method </FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#0000ff size=2>void</FONT><FONT size=2> CXTPDockingPaneLayout::Serialize(CArchive&amp; ar)</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono" size=2>{</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono" size=2>&nbsp;&nbsp;&nbsp; CXTPPropExchangeArchive px(ar);</FONT></FONT></DIV><DIV><FONT face="Courier New, Courier, mono" size=2>&nbsp;&nbsp;&nbsp; <FONT color=#ff0000>// Force Value m_nSchema to 32</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono" size=2>&nbsp;&nbsp;&nbsp; DoPropExchange(&amp;px);</FONT></FONT></DIV><DIV><FONT size=2><FONT size=2><FONT face="Courier New, Courier, mono">}</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT size=2><FONT face="Courier New"></FONT></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT size=2><FONT face="Arial, Helvetica, sans-serif">the loading is ok.&nbsp;</FONT></FONT></FONT></DIV><DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><DIV><FONT face=Arial size=2>With best regards</FONT></DIV><DIV><FONT face=Arial size=2>&nbsp; Marcus</FONT></DIV><DIV><FONT size=2><FONT size=2><FONT face=Arial></FONT>&nbsp;</DIV></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 02 Apr 2008 08:22:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10035&amp;PID=32961&amp;title=setlayout-version-conflict#32961</guid>
  </item> 
 </channel>
</rss>