<?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 : import XML in Commandbar designer</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : import XML in Commandbar designer]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 09:28:26 +0000</pubDate>
  <lastBuildDate>Thu, 12 May 2005 15:32:35 +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=2216</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[import XML in Commandbar designer : Hello, Jerry  bSerializeDesignerControlswas...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2216&amp;PID=6545&amp;title=import-xml-in-commandbar-designer#6545</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2216<br /><strong>Posted:</strong> 12 May 2005 at 3:32pm<br /><br /><P>Hello, Jerry </P><P>bSerializeDesignerControls&nbsp;was not implemented for _saving_ in 9.60.1, It&nbsp;is added in 9.70.</P><P>Sorry about it.</P>]]>
   </description>
   <pubDate>Thu, 12 May 2005 15:32:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2216&amp;PID=6545&amp;title=import-xml-in-commandbar-designer#6545</guid>
  </item> 
  <item>
   <title><![CDATA[import XML in Commandbar designer : Hi I have a created a commandbars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2216&amp;PID=6543&amp;title=import-xml-in-commandbar-designer#6543</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=479">jerry2000</a><br /><strong>Subject:</strong> 2216<br /><strong>Posted:</strong> 12 May 2005 at 8:10am<br /><br />Hi<br>I have a created a commandbars XML file from the sample "DesignerSample" with this part of code:<br><br>&nbsp;&nbsp;&nbsp; CXTPCommandBars* pCommandBars = GetCommandBars();<br>&nbsp;&nbsp;&nbsp; CXTPImageManager* pImageManager = pCommandBars-&gt;GetImageManager();<br><br>&nbsp;&nbsp;&nbsp; XTP_COMMANDBARS_PROPEXCHANGE_PARAM param;<br>&nbsp;&nbsp;&nbsp; param.bSerializeControls = TRUE;<br>&nbsp;&nbsp;&nbsp; param.bSaveOnlyCustomized = FALSE;<br>&nbsp;&nbsp;&nbsp; param.bSerializeDesignerControls = TRUE;<br><br>&nbsp;&nbsp;&nbsp; // Serialize to XML<br>&nbsp;&nbsp;&nbsp; CXTPPropExchangeXMLNode px(FALSE, 0, _T("DesignerFile"));<br>&nbsp;&nbsp;&nbsp; pCommandBars-&gt;DoPropExchange(&amp;px, &amp;param);<br><br>&nbsp;&nbsp;&nbsp; // Icons<br>&nbsp;&nbsp;&nbsp; CXTPPropExchangeSection secImages(px.GetSection(_T("Images")));<br>&nbsp;&nbsp;&nbsp; pImageManager-&gt;DoPropExchange(&amp;secImages);<br><br>&nbsp;&nbsp;&nbsp; // Accelerators:<br>&nbsp;&nbsp;&nbsp; CXTPPropExchangeSection secShortcuts(px.GetSection(_T("Shortcuts")));<br>&nbsp;&nbsp;&nbsp; XTPShortcutManager()-&gt;DoPropExchange(&amp;secShortcuts, this);<br><br>&nbsp;&nbsp;&nbsp; px.SaveToFile(_T("test.xml"));<br><br>When i import the XML in the designer the "controls tab" is empty.<br>I have analysed the XML file. In my file the sections "Shortcuts","Options", "ResourceManager" doesn't exist. Is this the problem, <br><br>because i don't need this sections.<br><br>I need to get the contols tab to work, because i want to edit menu entries. Toolbar entries editing does work.<br><br>thanks<br><br>P.s.: For this peace of code and the loading of this designed bars, ihave needed 1 day of work (to find information in forum and in thesource code).&nbsp; With a simple example this should be done in 5minutes.<br><br><br>]]>
   </description>
   <pubDate>Thu, 12 May 2005 08:10:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2216&amp;PID=6543&amp;title=import-xml-in-commandbar-designer#6543</guid>
  </item> 
 </channel>
</rss>