<?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 : Storing commandbars layout in XML</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Storing commandbars layout in XML]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 17:42:53 +0000</pubDate>
  <lastBuildDate>Tue, 17 Jan 2006 11:28:47 +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=3523</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[Storing commandbars layout in XML : Hello, At least in 9.80 was added...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3523&amp;PID=10566&amp;title=storing-commandbars-layout-in-xml#10566</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3523<br /><strong>Posted:</strong> 17 January 2006 at 11:28am<br /><br /><P>Hello,</P><P>At least in 9.80 was added </P><P>px.IsSectionExists(strDocTmpl) method.</P>]]>
   </description>
   <pubDate>Tue, 17 Jan 2006 11:28:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3523&amp;PID=10566&amp;title=storing-commandbars-layout-in-xml#10566</guid>
  </item> 
  <item>
   <title><![CDATA[Storing commandbars layout in XML : Hi, In my application I am storing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3523&amp;PID=10561&amp;title=storing-commandbars-layout-in-xml#10561</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=389">yoavo</a><br /><strong>Subject:</strong> 3523<br /><strong>Posted:</strong> 17 January 2006 at 8:41am<br /><br /><P>Hi,</P><P>In my application I am storing the layout of the commandbars in an .XML file.&nbsp;I have more than one layout (for each document template a different layout), and I need to load defaults if the specific section was not created yet. The problem is that I can not tell if a section exists in the XML file (because the method GetSection of CXTPPropExchangeXMLNode always return a value). I know that I can overcome the problem using an XML file for each document template, but I preffer to have only one file.</P><P>Is there a way to know if a Section exists or not in the XML file ?</P><P>Here is my code:</P><FONT size=2><P>CXTPPropExchangeXMLNode px(TRUE, 0, _T(</FONT><FONT color=#800000 size=2>"Settings"</FONT><FONT size=2>));</FONT><FONT color=#008000 size=2></P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (px.LoadFromFile(m_strIniFileName))</P><P>{</P></FONT><FONT size=2><P>CXTPPropExchangeSection pxCommandBars(px.GetSection(strDocTmpl</FONT><FONT size=2>));</P><P>XTP_COMMANDBARS_PROPEXCHANGE_PARAM param; param.bSerializeControls = TRUE; </P><P>GetCommandBars()-&gt;DoPropExchange(&amp;pxCommandBars, &amp;param);</P><P>}</P></FONT><P>Yoav.</P>]]>
   </description>
   <pubDate>Tue, 17 Jan 2006 08:41:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3523&amp;PID=10561&amp;title=storing-commandbars-layout-in-xml#10561</guid>
  </item> 
 </channel>
</rss>