<?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 : Problem loading Menu&#039;s with Ribbon bar.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Problem loading Menu&#039;s with Ribbon bar.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 01:50:00 +0000</pubDate>
  <lastBuildDate>Fri, 16 Oct 2009 10:10: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=15351</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[Problem loading Menu&#039;s with Ribbon bar. : I don&amp;#039;t know if you can call...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53930&amp;title=problem-loading-menus-with-ribbon-bar#53930</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 15351<br /><strong>Posted:</strong> 16 October 2009 at 10:10am<br /><br /><P>I don't know if you can call ShowWindow(SW_HIDE) on the ribbon. You might be able to delete the ribbon and create the menu and vica versa on the fly. Do any of the samples do such a thing?</P><DIV>&nbsp;</DIV><DIV>We had a standard MFC menu at the top of our frame when we first moved to CJ (didn't bother to remove it). The ribbon did not always hide it properly so we removed&nbsp;the menu (we were not using it).</DIV>]]>
   </description>
   <pubDate>Fri, 16 Oct 2009 10:10:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53930&amp;title=problem-loading-menus-with-ribbon-bar#53930</guid>
  </item> 
  <item>
   <title><![CDATA[Problem loading Menu&#039;s with Ribbon bar. : It&amp;#039;s my client&amp;#039;s requirements...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53927&amp;title=problem-loading-menus-with-ribbon-bar#53927</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5600">sankulp80</a><br /><strong>Subject:</strong> 15351<br /><strong>Posted:</strong> 16 October 2009 at 5:58am<br /><br />It's my client's requirements that both RibbonBar and MenuBar should show up. They should be toglled OFF/ON based using some keys. <br><br>I saw both Ribbon and Standard menu's in some applications. <br><br>]]>
   </description>
   <pubDate>Fri, 16 Oct 2009 05:58:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53927&amp;title=problem-loading-menus-with-ribbon-bar#53927</guid>
  </item> 
  <item>
   <title><![CDATA[Problem loading Menu&#039;s with Ribbon bar. :  Can you manually move the menu...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53926&amp;title=problem-loading-menus-with-ribbon-bar#53926</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5600">sankulp80</a><br /><strong>Subject:</strong> 15351<br /><strong>Posted:</strong> 16 October 2009 at 5:53am<br /><br /><b><img src="uploads/20091016_055458_MenuBeforeRibbo.JPG" height="245" width="959" border="0">Can you manually move the menu above the ribbon bar (I see the gripper)? If not, that might imply it is not possible to do.</b><div><b>&nbsp;</b></div><div><b>Have you tried creating the menu first (I assume SetPosition(xtpBarTop) is an option when doing so)?</b><br><br>Hi<br><br>I cannot move the menu above the ribbon bar. <br><br>I also tried creating menus before creating RibbonBar. In this case I faced following issues: <br><br>- In an MDI application multiple Min,Max and Close button show up<br>- No Titlebar in the application<br>- Cannot Maximize and Change Window Size by double clicking on the Title of the window.<br>- Icon of the Windows appears below the MenuBar. should be in parllel to Menus as no Title Bar<br><br>Please check the Attached Image.<br><br><br></div>]]>
   </description>
   <pubDate>Fri, 16 Oct 2009 05:53:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53926&amp;title=problem-loading-menus-with-ribbon-bar#53926</guid>
  </item> 
  <item>
   <title><![CDATA[Problem loading Menu&#039;s with Ribbon bar. : Hi,  yes its Ribbon thing to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53919&amp;title=problem-loading-menus-with-ribbon-bar#53919</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 15351<br /><strong>Posted:</strong> 16 October 2009 at 5:33am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>yes its Ribbon thing to show always above all menus/toolbars.</DIV><DIV>Why do you need Ribbon if you whant standard MenuBar too.</DIV>]]>
   </description>
   <pubDate>Fri, 16 Oct 2009 05:33:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53919&amp;title=problem-loading-menus-with-ribbon-bar#53919</guid>
  </item> 
  <item>
   <title><![CDATA[Problem loading Menu&#039;s with Ribbon bar. : I think this is not allowed by...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53893&amp;title=problem-loading-menus-with-ribbon-bar#53893</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=66">zaksoft</a><br /><strong>Subject:</strong> 15351<br /><strong>Posted:</strong> 15 October 2009 at 1:18pm<br /><br />I think this is not allowed by Microsoft licence, read it carefully, you cannot mix ribbon with old items, in the same way you cannot modify icons dimension and so on.<DIV>&nbsp;</DIV><DIV>Interface is copyrighted and you have to agree in full to their requirements-</DIV>]]>
   </description>
   <pubDate>Thu, 15 Oct 2009 13:18:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53893&amp;title=problem-loading-menus-with-ribbon-bar#53893</guid>
  </item> 
  <item>
   <title><![CDATA[Problem loading Menu&#039;s with Ribbon bar. : Can you manually move the menu...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53892&amp;title=problem-loading-menus-with-ribbon-bar#53892</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 15351<br /><strong>Posted:</strong> 15 October 2009 at 12:27pm<br /><br />Can you manually move the menu above the ribbon bar (I see the gripper)? If not, that might imply it is not possible to do.<DIV>&nbsp;</DIV><DIV>Have you tried creating the menu first (I assume SetPosition(xtpBarTop) is an option when doing so)?</DIV>]]>
   </description>
   <pubDate>Thu, 15 Oct 2009 12:27:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53892&amp;title=problem-loading-menus-with-ribbon-bar#53892</guid>
  </item> 
  <item>
   <title><![CDATA[Problem loading Menu&#039;s with Ribbon bar. : Hi,I am loading menus with the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53804&amp;title=problem-loading-menus-with-ribbon-bar#53804</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5600">sankulp80</a><br /><strong>Subject:</strong> 15351<br /><strong>Posted:</strong> 13 October 2009 at 5:44am<br /><br />Hi,<br><br>I am loading menus with the Ribbon bars in the CommandBars. Menus are not showing up properly, they are apperaing below the ribbon bar. <br><br>I need Menu to be shown above RibbonBar<br><br>Please help me what wrong I am doing.<br><br>Below is the code snippet:<br><img src="uploads/20091013_054145_untitled.JPG" height="220" width="917" border="0"><br><br>&nbsp;&nbsp;&nbsp; CXTPRibbonBar* pRibbonBar = (CXTPRibbonBar*)pCommandBars-&gt;Add(_T("The Ribbon"), xtpBarTop, RUNTIME_CLASS(CXTPRibbonBar));<br>&nbsp;&nbsp;&nbsp; if (!pRibbonBar)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return FALSE;<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; pRibbonBar-&gt;EnableDocking(TRUE);<br>&nbsp;&nbsp;&nbsp; //pRibbonBar-&gt;GetTabPaintManager()-&gt;m_bSelectOnButtonDown = FALSE;<br><br>&nbsp;&nbsp;&nbsp; CXTPMenuBar* pMenu = pCommandBars-&gt;SetMenu(_T("Menu Bar"), IDR_MAINFRAME);<br>&nbsp;&nbsp;&nbsp; pMenu-&gt;SetPosition(xtpBarNone);<br><br>&nbsp;&nbsp;&nbsp; CXTPControlPopup* pControlFile = (CXTPControlPopup*)pRibbonBar-&gt;AddSystemButton(ID_MENU_FILE);<br>&nbsp;&nbsp;&nbsp; //pControlFile-&gt;SetCommandBar(menu.GetSubMenu(0));<br>&nbsp;&nbsp;&nbsp; pControlFile-&gt;GetCommandBar()-&gt;SetIconSize(CSize(32, 32));<br><br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; //pControlFile-&gt;SetIconId(IDB_GEAR);<br>&nbsp;&nbsp;&nbsp; UINT uCommand = {IDB_GEAR};<br>&nbsp;&nbsp;&nbsp; pCommandBars-&gt;GetImageManager()-&gt;SetIcons(IDB_GEAR, &amp;uCommand, 1, CSize(0, 0), xtpImageNormal);<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; CXTPRibbonTab* pTabHome = pRibbonBar-&gt;AddTab(ID_TAB_HOME);<br><br>I am attching Image also...please look at the image<br><br>Thanks in advance,<br>Yogi<br>&nbsp;<br>]]>
   </description>
   <pubDate>Tue, 13 Oct 2009 05:44:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15351&amp;PID=53804&amp;title=problem-loading-menus-with-ribbon-bar#53804</guid>
  </item> 
 </channel>
</rss>