<?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 : Can I create more than one ribbon?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Can I create more than one ribbon?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 03:53:04 +0000</pubDate>
  <lastBuildDate>Fri, 06 Jun 2008 11:28:27 +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=10935</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[Can I create more than one ribbon? : I have an MDI application that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10935&amp;PID=36359&amp;title=can-i-create-more-than-one-ribbon#36359</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 10935<br /><strong>Posted:</strong> 06 June 2008 at 11:28am<br /><br />I have an MDI application that provides automation for enumerating command information.<DIV>&nbsp;</DIV><DIV>To implement the API, when the automation request is for a document type that is not the active document, I am creating a command bars object and then a ribbon and populating the ribbon. I have to set the site of the ribbon to avoid a crash in some CodeJock code, which I set to be the mainframe (not sure what else I can set it to). I also set the ribbon visible property to FALSE (failure to do so results in the created ribbon partially displaying at the top of, and across the entire desktop, which I suppose happens since the frame already has a command ribbon).</DIV><DIV>&nbsp;</DIV><DIV>When I am done enumerating the controls, I delete the command bars object and have verified the ribbon is deleted too. I only create the temp bars and ribbon if the request is not for the current document type (otherwise I just use the frame's ribbon that is already populated for the doc type).</DIV><DIV>&nbsp;</DIV><DIV>However, now I am sometimes seeing the old XP blue themed caption bar appearing over the application's current&nbsp;ribbon temporarily. Moving the cursor over the ribbon displays portions of the ribbon over the old blue caption bar.</DIV><DIV>&nbsp;</DIV><DIV>Is it possible to have more than one ribbon whose site is the frame window? What can I do to avoid the old caption displaying over the actual ribbon the frame has added to its command bars collection?</DIV>]]>
   </description>
   <pubDate>Fri, 06 Jun 2008 11:28:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10935&amp;PID=36359&amp;title=can-i-create-more-than-one-ribbon#36359</guid>
  </item> 
 </channel>
</rss>