<?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 : FindPane unsuccessful after a DoPropExchange</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : FindPane unsuccessful after a DoPropExchange]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 00:11:57 +0000</pubDate>
  <lastBuildDate>Thu, 27 Jul 2006 16:32:29 +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=4665</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[FindPane unsuccessful after a DoPropExchange : Thank you!  Just wanted to make...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4665&amp;PID=14430&amp;title=findpane-unsuccessful-after-a-dopropexchange#14430</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1586">jansim</a><br /><strong>Subject:</strong> 4665<br /><strong>Posted:</strong> 27 July 2006 at 4:32pm<br /><br />Thank you!<DIV>&nbsp;</DIV><DIV>Just wanted to make sure it was the best solution</DIV><DIV>&nbsp;</DIV><DIV>Jansim</DIV>]]>
   </description>
   <pubDate>Thu, 27 Jul 2006 16:32:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4665&amp;PID=14430&amp;title=findpane-unsuccessful-after-a-dopropexchange#14430</guid>
  </item> 
  <item>
   <title><![CDATA[FindPane unsuccessful after a DoPropExchange : Hi, What bad in solution you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4665&amp;PID=14424&amp;title=findpane-unsuccessful-after-a-dopropexchange#14424</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4665<br /><strong>Posted:</strong> 27 July 2006 at 2:35pm<br /><br />Hi,<DIV>What bad in solution you wrote?&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>right - you can check number of pane, restore layout and add one floating pane.</DIV>]]>
   </description>
   <pubDate>Thu, 27 Jul 2006 14:35:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4665&amp;PID=14424&amp;title=findpane-unsuccessful-after-a-dopropexchange#14424</guid>
  </item> 
  <item>
   <title><![CDATA[FindPane unsuccessful after a DoPropExchange : Hi Oleg, Thanks for the reply. This...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4665&amp;PID=14419&amp;title=findpane-unsuccessful-after-a-dopropexchange#14419</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1586">jansim</a><br /><strong>Subject:</strong> 4665<br /><strong>Posted:</strong> 27 July 2006 at 11:01am<br /><br /><P>Hi Oleg,</P><DIV>Thanks for the reply.</DIV><DIV>This solution seems to reset the layout to the default layout</DIV><DIV>if there is one missing pane in the layout.</DIV><DIV>&nbsp;</DIV><DIV>This is exactly what I need not to do.</DIV><DIV>&nbsp;</DIV><DIV>I will explain my problem better:</DIV><DIV>&nbsp;</DIV><DIV>In version 10.0 our our software, we have 2 panes.</DIV><DIV>In version 10.1, we will have 3 panes.</DIV><DIV>&nbsp;</DIV><DIV>We absolutely need to be backward compatible with </DIV><DIV>docking pane layout. </DIV><DIV>&nbsp;</DIV><DIV>So, when application 10.1 starts, it creates 3 panes,</DIV><DIV>the user loads a layout from 10.0, where the third pane</DIV><DIV>does not exist. We need to make the new pane "floating"</DIV><DIV>but we need not to touch the other panes.</DIV><DIV>&nbsp;</DIV><DIV>Is there a better solution than this:</DIV><DIV>&nbsp;</DIV><DIV>CXTPDockingPaneLayout currentLayout(GetDockingPaneManager());</DIV><DIV>&nbsp;</DIV><DIV>if (currentLayout.Load(_T("LayoutFrom10.0")) &amp;&amp; currentLayout.GetPaneList().GetCount() != 3)<BR>{<BR>&nbsp;&nbsp; // Some code to check what panes is missing</DIV><DIV>&nbsp;&nbsp; ...</DIV><DIV>&nbsp;&nbsp; </DIV><DIV>&nbsp;&nbsp; CXTPDockignPane* pMissingPane = GetDockingPaneManager()-&gt;CreatePane( ... );</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;// Then make the pane floating</DIV><DIV>&nbsp;&nbsp; ...<BR>}</DIV><DIV>&nbsp;</DIV><DIV>Thank you</DIV><DIV>Jean-Simon</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 27 Jul 2006 11:01:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4665&amp;PID=14419&amp;title=findpane-unsuccessful-after-a-dopropexchange#14419</guid>
  </item> 
  <item>
   <title><![CDATA[FindPane unsuccessful after a DoPropExchange :  Hello, you can pane&amp;#039;s count...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4665&amp;PID=14412&amp;title=findpane-unsuccessful-after-a-dopropexchange#14412</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4665<br /><strong>Posted:</strong> 27 July 2006 at 10:21am<br /><br /><DIV></DIV><DIV>Hello, you can pane's count before restore layout or change profile section for next layout.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>CXTPDockingPaneLayout layoutNormal(GetDockingPaneManager());</DIV><P>&nbsp;if (layoutNormal.Load(_T("NormalLayout")) &amp;&amp; layoutNormal.GetPaneList().GetCount() == 3)<BR>&nbsp;{<BR>&nbsp;&nbsp;GetDockingPaneManager()-&gt;SetLayout(&amp;layoutNormal);<BR>&nbsp;}<BR></P>]]>
   </description>
   <pubDate>Thu, 27 Jul 2006 10:21:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4665&amp;PID=14412&amp;title=findpane-unsuccessful-after-a-dopropexchange#14412</guid>
  </item> 
  <item>
   <title><![CDATA[FindPane unsuccessful after a DoPropExchange : I have a layout file containing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4665&amp;PID=14403&amp;title=findpane-unsuccessful-after-a-dopropexchange#14403</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1586">jansim</a><br /><strong>Subject:</strong> 4665<br /><strong>Posted:</strong> 26 July 2006 at 5:44pm<br /><br /><P>I have a layout file containing 2 panes </P><DIV>"Pane 1" and "Pane 2"</DIV><DIV>&nbsp;</DIV><DIV>When I start my application, I create 3 panes</DIV><DIV>&nbsp;</DIV><DIV>"Pane 1", "Pane 2" and "Pane 3"</DIV><DIV>&nbsp;</DIV><DIV>When I load the layout, the third pane is deleted</DIV><DIV>from the panes list by the DoPropExchange method.</DIV><DIV>&nbsp;</DIV><DIV>What is the best way to correct the problem?</DIV><DIV>&nbsp;</DIV><DIV>I noticed an InternalRelease is called on "Pane 3" </DIV><DIV>in the Free() method of the PaneLayout.</DIV><DIV>&nbsp;</DIV><DIV>Does that mean I have to re-create my "Pane 3"</DIV><DIV>using CreatePane ? </DIV><DIV>&nbsp;</DIV><DIV>Maybe I'm missing something.<IMG alt=C&#111;nfused src="https://forum.codejock.com/smileys/smiley5.gif" align=absMiddle border="0"></DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>Jean-Simon</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 26 Jul 2006 17:44:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4665&amp;PID=14403&amp;title=findpane-unsuccessful-after-a-dopropexchange#14403</guid>
  </item> 
 </channel>
</rss>