<?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 : Pinable recent files with Command Bars Designer</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Pinable recent files with Command Bars Designer]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 02:51:48 +0000</pubDate>
  <lastBuildDate>Fri, 16 Jul 2010 06:31:19 +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=16962</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[Pinable recent files with Command Bars Designer : Has anyone got a pinable recent...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16962&amp;PID=59346&amp;title=pinable-recent-files-with-command-bars-designer#59346</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6064">lfoster</a><br /><strong>Subject:</strong> 16962<br /><strong>Posted:</strong> 16 July 2010 at 6:31am<br /><br />Has anyone got a pinable recent files list in a System Button menu created using the Command Bars Designer?<br /><br />There's a sample "RibbonControls" that has a pinable recent files list that works great, but it doesn't load an XCB file like my application. <br /><br />When loading an XCB file, the pinable recent files list is displayed and you can indeed pin files, however, when you close the System Menu any pinned files are forgotten.<br /><br />It seems that if you create the "CXTPRibbonControlSystemRecentFileList" through the OnCreateControls() method it works fine, but just loading the control from an XCB means the pinned items are forgotten.<br /><br />I'm loading my XCB file like this:<br /><table width="99%"><tr><td><pre class="BBcode"><br />CFile pFile(fullPath,CFile::modeRead);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CArchive ar1(&pFile,CArchive::load | CArchive::bNoFlushOnDelete);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GetCommandBars()-&gt;LoadDesignerBars(ar1);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ar1.Close();<br /></pre></td></tr></table><br /><br />and then i specify the following in the applications InitInstance()<br /><br /><table width="99%"><tr><td><pre class="BBcode"><br />m_pRecentFileList = new CXTPPinableRecentFileList(0, _T("Recent File List xxxxx"), _T("File%d"), 16);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_pRecentFileList-&gt;ReadList();<br /></pre></td></tr></table><br /><br />Any ideas anyone?<br /><br />Thanks,<br /><br />Lewis<br />]]>
   </description>
   <pubDate>Fri, 16 Jul 2010 06:31:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16962&amp;PID=59346&amp;title=pinable-recent-files-with-command-bars-designer#59346</guid>
  </item> 
 </channel>
</rss>