<?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 : CXTPDockingPaneManager Adding Later</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPDockingPaneManager Adding Later]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 12:02:33 +0000</pubDate>
  <lastBuildDate>Fri, 05 Jan 2007 08:51:03 +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=5993</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[CXTPDockingPaneManager Adding Later : Yes, think this code must work...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18882&amp;title=cxtpdockingpanemanager-adding-later#18882</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5993<br /><strong>Posted:</strong> 05 January 2007 at 8:51am<br /><br />Yes, think this code must work ok.]]>
   </description>
   <pubDate>Fri, 05 Jan 2007 08:51:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18882&amp;title=cxtpdockingpanemanager-adding-later#18882</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPaneManager Adding Later :   oleg wrote:No. GetPaneList().GetCount()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18862&amp;title=cxtpdockingpanemanager-adding-later#18862</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 5993<br /><strong>Posted:</strong> 05 January 2007 at 2:45am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />No. GetPaneList().GetCount() must return number of created panes - no metter they was hidden or closed.</td></tr></table> <DIV></DIV>Thats what I need isnt it, I want to only create the pane if its the total count available ... otherwise they could close it, re open the app and it would re-add it again.]]>
   </description>
   <pubDate>Fri, 05 Jan 2007 02:45:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18862&amp;title=cxtpdockingpanemanager-adding-later#18862</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPaneManager Adding Later : Oops, you got in there whilst...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18860&amp;title=cxtpdockingpanemanager-adding-later#18860</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 5993<br /><strong>Posted:</strong> 05 January 2007 at 2:38am<br /><br /><P>Oops, you got in there whilst i was editing/correcting my original post (darn, no nothing makes sense to others) ... sorry.</P><DIV>&nbsp;</DIV><DIV>Is this not okay as I want it to appear next to my Project Pane if its there?</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>&nbsp;&nbsp;CXTPDockingPane *pProjectPane = m_paneManager.FindPane( ID_PANE_PROJECT );<BR>&nbsp;&nbsp;ASSERT( pProjectPane );</DIV><DIV>&nbsp;&nbsp;CXTPDockingPane *pwndEditedFiles = m_paneManager.CreatePane( ID_PANE_EDITED_FILES, CRect(0, 0, 200, 150), xtpPaneDockRight );<BR>&nbsp;&nbsp;if( pProjectPane &amp;&amp; !pProjectPane-&gt;IsHidden() &amp;&amp; !pProjectPane-&gt;IsClosed() )<BR>&nbsp;&nbsp;&nbsp;m_paneManager.AttachPane( pwndEditedFiles, pProjectPane );<BR></pre></td></tr></table></DIV>]]>
   </description>
   <pubDate>Fri, 05 Jan 2007 02:38:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18860&amp;title=cxtpdockingpanemanager-adding-later#18860</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPaneManager Adding Later : .... For future you can add versrion...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18859&amp;title=cxtpdockingpanemanager-adding-later#18859</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5993<br /><strong>Posted:</strong> 05 January 2007 at 2:34am<br /><br />.... For future you can add versrion information to px section.<DIV>PX_Int(&amp;px, "VersionInfo", m_nVersion, 0);</DIV>]]>
   </description>
   <pubDate>Fri, 05 Jan 2007 02:34:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18859&amp;title=cxtpdockingpanemanager-adding-later#18859</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPaneManager Adding Later : No. GetPaneList().GetCount() must...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18858&amp;title=cxtpdockingpanemanager-adding-later#18858</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5993<br /><strong>Posted:</strong> 05 January 2007 at 2:32am<br /><br />No. GetPaneList().GetCount() must return number of created panes - no metter they was hidden or closed.<DIV>&nbsp;</DIV><DIV>Don't call AttachPane if you create it after you load layout. Neighbour pane can be closed or hiddne.</DIV>]]>
   </description>
   <pubDate>Fri, 05 Jan 2007 02:32:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18858&amp;title=cxtpdockingpanemanager-adding-later#18858</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPaneManager Adding Later : Thanks Oleg  Its GetCount (for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18855&amp;title=cxtpdockingpanemanager-adding-later#18855</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 5993<br /><strong>Posted:</strong> 05 January 2007 at 2:22am<br /><br /><DIV>Thanks Oleg</DIV><DIV>&nbsp;</DIV><DIV>Its GetCount (for others reading this post, not GetSize).<DIV>&nbsp;</DIV><DIV>Thanks a lot for this, I basically added this as per your suggestion and it works great:</DIV><DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>// Create my panes</DIV><DIV>...</DIV><DIV>&nbsp;</DIV><DIV>// Load my layout</DIV><DIV>....</DIV><DIV>&nbsp;</DIV><DIV>// Check I have the right number of panes, if not, create my new ones</DIV><DIV>&nbsp;if( m_paneManager.GetPaneList().GetCount()&nbsp;== 1&nbsp;)<BR>&nbsp;{<BR>&nbsp;&nbsp;CXTPDockingPane *pProjectPane = m_paneManager.FindPane( ID_PANE_PROJECT );<BR>&nbsp;&nbsp;ASSERT( pProjectPane );</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;CXTPDockingPane *pwndEditedFiles = m_paneManager.CreatePane( ID_PANE_EDITED_FILES, CRect(0, 0, 200, 150), xtpPaneDockRight );<BR>&nbsp;&nbsp;m_paneManager.AttachPane( pwndEditedFiles, pProjectPane );</DIV><DIV>}</DIV><DIV></pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>Thanks again Oleg, you have saved me yet again :-)</DIV></DIV></DIV>]]>
   </description>
   <pubDate>Fri, 05 Jan 2007 02:22:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18855&amp;title=cxtpdockingpanemanager-adding-later#18855</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPaneManager Adding Later : Hi,  Check number of panes after...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18849&amp;title=cxtpdockingpanemanager-adding-later#18849</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5993<br /><strong>Posted:</strong> 05 January 2007 at 1:58am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Check number of panes after you load layout:</DIV><DIV>&nbsp;</DIV><DIV>m_paneManager.GetPaneList().GetSize() and if it was "1" call m_paneManager.CreatePane again.</DIV>]]>
   </description>
   <pubDate>Fri, 05 Jan 2007 01:58:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18849&amp;title=cxtpdockingpanemanager-adding-later#18849</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPaneManager Adding Later : Hi   I have a GUI (DevStudio...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18841&amp;title=cxtpdockingpanemanager-adding-later#18841</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 5993<br /><strong>Posted:</strong> 04 January 2007 at 7:18pm<br /><br />Hi <DIV>&nbsp;</DIV><DIV>I have a GUI (DevStudio like) and have docking panes in the application. I am saving the layout of the panes to an XML file.</DIV><DIV>&nbsp;</DIV><DIV>My product is being used at the moment, but I want to add a new pane, if i do none of my users can view it unless they delete the settings.xml file.</DIV><DIV>&nbsp;</DIV><DIV>How do I get my new pane to be added and still maintain the layout and settings of the rest of the app?</DIV><DIV>&nbsp;</DIV><DIV>Basically in MainFrm I:</DIV><DIV><table width="99%"><tr><td><pre class="BBcode">&nbsp;CXTPDockingPane *pwndProject = m_paneManager.CreatePane( ID_PANE_PROJECT, CRect(0, 0, 300, 150), xtpPaneDockLeft );<BR>&nbsp;CXTPDockingPane *pwndEditedFiles = m_paneManager.CreatePane( ID_PANE_EDITED_FILES, CRect(0, 0, 200, 150), xtpPaneDockRight );<BR>&nbsp;GetDockingPaneManager()-&gt;AttachPane( pwndEditedFiles, pwndProject );<BR></DIV><DIV>...</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;CXTPPropExchangeXMLNode px( TRUE, 0, _T("Settings") );<BR>&nbsp;if( px.LoadFromFile( GetAppDataLocation( AfxGetApp()-&gt;m_pszRegistryKey, AfxGetApp()-&gt;m_pszAppName, _T("Settings.xml") ) ) )<BR>&nbsp;{<BR>&nbsp;CXTPPropExchangeSection pxDockingPane(px.GetSection(_T("DockingPane")));<BR>&nbsp;m_paneManager.DoPropExchange(&amp;pxDockingPane);<BR>}</DIV><DIV></pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>As you can see, I create my panes and then i load up my layout from an existing settings file ... but the settings file knows nothing about this new pane (ID_PANE_EDITED_FILES) so it doesnt get added.</DIV><DIV>&nbsp;</DIV><DIV>I can use&nbsp;m_paneManager.ShowPane( ID_PANE_EDITED_FILES ); to show the pane after loading the layout, but i cant use this all the time as it may be purposefully hidden by the user later on and doing this will keep showing it.</DIV><DIV>&nbsp;</DIV><DIV>I also added a menu command to view the pane but that doesnt appear either.</DIV><DIV>&nbsp;</DIV><DIV>Help, can you give me a solution, thanks.</DIV>]]>
   </description>
   <pubDate>Thu, 04 Jan 2007 19:18:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5993&amp;PID=18841&amp;title=cxtpdockingpanemanager-adding-later#18841</guid>
  </item> 
 </channel>
</rss>