<?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 : Saving settings to file...</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Saving settings to file...]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 03:04:56 +0000</pubDate>
  <lastBuildDate>Sun, 23 Jul 2006 16:33:01 +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=4643</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[Saving settings to file... : Aha, I found a perfect example...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4643&amp;PID=14325&amp;title=saving-settings-to-file#14325</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 4643<br /><strong>Posted:</strong> 23 July 2006 at 4:33pm<br /><br />Aha, I found a perfect example in the Whidbey example. For anyone out there, search for "ExchangeLayout" in Mainfrm.cpp.<DIV>&nbsp;</DIV><DIV>Thanks for your patience.</DIV><DIV>&nbsp;</DIV><DIV>I&nbsp;think this is my example of where documentation is lacking, you have to really go through every sample and study them to find out all the things that the excellent Toolkit can do.</DIV>]]>
   </description>
   <pubDate>Sun, 23 Jul 2006 16:33:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4643&amp;PID=14325&amp;title=saving-settings-to-file#14325</guid>
  </item> 
  <item>
   <title><![CDATA[Saving settings to file... : I am still very confused, whats...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4643&amp;PID=14323&amp;title=saving-settings-to-file#14323</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 4643<br /><strong>Posted:</strong> 23 July 2006 at 3:36pm<br /><br />I am still very confused, whats the difference between all these different ways of saving stuff.<DIV>&nbsp;</DIV><DIV>Load/SaveCommandState</DIV><DIV>CXTPDockingPaneLayout::SaveToFile</DIV><DIV>CXTPPropExchangeSection pxCommandBars ... SaveToFile</DIV><DIV>&nbsp;</DIV><DIV>And the last one (taken from toolbox example) gives me a crash in ~CXTPPropExchangeXMLNode</DIV><DIV>&nbsp;</DIV><DIV>All I want to do is save all the docking bar layouts, keyboard and toolbar customisations to settings files and not in the registry.</DIV><DIV>&nbsp;</DIV><DIV>Can you give me an explanation as to how I do this, thanks.</DIV>]]>
   </description>
   <pubDate>Sun, 23 Jul 2006 15:36:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4643&amp;PID=14323&amp;title=saving-settings-to-file#14323</guid>
  </item> 
  <item>
   <title><![CDATA[Saving settings to file... : Thanks, I will take a look in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4643&amp;PID=14321&amp;title=saving-settings-to-file#14321</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 4643<br /><strong>Posted:</strong> 23 July 2006 at 2:39pm<br /><br />Thanks, I will take a look in that sample.]]>
   </description>
   <pubDate>Sun, 23 Jul 2006 14:39:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4643&amp;PID=14321&amp;title=saving-settings-to-file#14321</guid>
  </item> 
  <item>
   <title><![CDATA[Saving settings to file... : Hi,  from toolbox sample:  CXTPPropExchangeXMLNode...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4643&amp;PID=14317&amp;title=saving-settings-to-file#14317</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4643<br /><strong>Posted:</strong> 23 July 2006 at 10:43am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>from toolbox sample:</DIV><DIV>&nbsp;</DIV><DIV>CXTPPropExchangeXMLNode px(FALSE, 0, _T("Settings"));</DIV><DIV><BR>CXTPPropExchangeSection pxCommandBars(px.GetSection(_T("CommandBars")));<BR>&nbsp;&nbsp;GetCommandBars()-&gt;DoPropExchange(&amp;pxCommandBars);</DIV><DIV>&nbsp;</DIV><DIV>px.SaveToFile(m_strIniFileName);<BR><BR></DIV>]]>
   </description>
   <pubDate>Sun, 23 Jul 2006 10:43:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4643&amp;PID=14317&amp;title=saving-settings-to-file#14317</guid>
  </item> 
  <item>
   <title><![CDATA[Saving settings to file... : I want to be able to save all...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4643&amp;PID=14313&amp;title=saving-settings-to-file#14313</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 4643<br /><strong>Posted:</strong> 23 July 2006 at 4:01am<br /><br />I want to be able to save all customisation settings to files in "AppSettings". <DIV>&nbsp;</DIV><DIV>I have found a couple of problems, and some places where stuff is saved only to registry: Shortcuts being one.</DIV><DIV>&nbsp;</DIV><DIV>Can someone give me a definitive list of things I need to change/add to get this to work.</DIV><DIV>&nbsp;</DIV><DIV>If you can base examples on the Whidbey sample then I can cross reference that code with mine.</DIV><DIV>&nbsp;</DIV><DIV>I have got a dock layout saving to file:</DIV><DIV><table width="99%"><tr><td><pre class="BBcode">&nbsp;CXTPDockingPaneLayout layoutNormal( &amp;m_paneManager );<BR>&nbsp;m_paneManager.GetLayout( &amp;layoutNormal );<BR>&nbsp;layoutNormal.SaveToFile( GetAppDataLocation( _T("DockLayout.xml") ), _T("NormalLayout") );</pre></td></tr></table><BR></DIV><DIV>But nothing else yet. Please can someone help, thanks.</DIV>]]>
   </description>
   <pubDate>Sun, 23 Jul 2006 04:01:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4643&amp;PID=14313&amp;title=saving-settings-to-file#14313</guid>
  </item> 
 </channel>
</rss>