<?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 : Ribbon Load/SaveCommandBars in RibbonResource</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Ribbon Load/SaveCommandBars in RibbonResource]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 03:34:46 +0000</pubDate>
  <lastBuildDate>Wed, 17 May 2017 07:16:23 +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=23337</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[Ribbon Load/SaveCommandBars in RibbonResource : Hi,I&amp;#039;m trying to integrate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23337&amp;PID=75792&amp;title=ribbon-load-savecommandbars-in-ribbonresource#75792</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=19">mihey</a><br /><strong>Subject:</strong> 23337<br /><strong>Posted:</strong> 17 May 2017 at 7:16am<br /><br />Hi,<br /><br />I'm trying to integrate saving/loading Ribbon state into my application but without a success till now. <br /><br />The strange thing is - this also doesn't work even with RibbonResource sample project.<br /> <br />I took the sample project, add: <br /><br />void CMainFrame::OnClose()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SaveCommandBars("CommandBars");<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CXTPMDIFrameWnd::OnClose();<br />}<br /><br /> <br />handler and enhanced: <br />CMainFrame::OnCreate<br />{<br />...<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LoadCommandBars("CommandBars"); <br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 0;<br />}<br /><br /><br />as the last line before the return.<br /><br />If now I open the sample; minimize the ribbon or switch quick access bar below the ribbon and close it. I do not see any changes saved after I start the sample again.<br /><br />My question - should this work in combination with CXTPRibbonBuilder together in general?<br />If yes - that do I do wrong?<br /><br />Best regards, <br />Mikhail <br /><br /><br />XTP17.3.0, VC++, VS2015, Win 7x64<br /><br />&nbsp;&nbsp;&nbsp;]]>
   </description>
   <pubDate>Wed, 17 May 2017 07:16:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23337&amp;PID=75792&amp;title=ribbon-load-savecommandbars-in-ribbonresource#75792</guid>
  </item> 
 </channel>
</rss>