<?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 : Ribbonbar does not wrap menus</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Ribbonbar does not wrap menus]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 18:13:26 +0000</pubDate>
  <lastBuildDate>Tue, 14 Dec 2010 11:24:44 +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=17672</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[Ribbonbar does not wrap menus : Thanks everyone. Just wanted to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17672&amp;PID=61810&amp;title=ribbonbar-does-not-wrap-menus#61810</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6296">Hemesh</a><br /><strong>Subject:</strong> 17672<br /><strong>Posted:</strong> 14 December 2010 at 11:24am<br /><br />Thanks everyone.&nbsp; Just wanted to check I wasn't missing the obvious <img src="http://forum.codejock.com/smileys/smiley24.gif" border="0" alt="Ermm" title="Ermm" /><br><br>I have raised a case (25798)]]>
   </description>
   <pubDate>Tue, 14 Dec 2010 11:24:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17672&amp;PID=61810&amp;title=ribbonbar-does-not-wrap-menus#61810</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbonbar does not wrap menus : Unfortunately, it doesn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17672&amp;PID=61807&amp;title=ribbonbar-does-not-wrap-menus#61807</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17672<br /><strong>Posted:</strong> 14 December 2010 at 9:02am<br /><br />Unfortunately, it doesn't seem to work for the Ribbon menu...I haven't had much luck finding a solution either - this may be a question or request for CJ.<br><br>]]>
   </description>
   <pubDate>Tue, 14 Dec 2010 09:02:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17672&amp;PID=61807&amp;title=ribbonbar-does-not-wrap-menus#61807</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbonbar does not wrap menus :  Hi,  I don&amp;#039;t use Ribbon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17672&amp;PID=61805&amp;title=ribbonbar-does-not-wrap-menus#61805</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17672<br /><strong>Posted:</strong> 14 December 2010 at 8:13am<br /><br /><FONT size=1><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>I don't use Ribbon but I guess same as any toolbar...</DIV><DIV>&nbsp;</DIV><DIV>objRibbon.EnableDocking xtpFlagAlignTop + <strong>xtpStrechedShared</strong></FONT><BR></DIV>]]>
   </description>
   <pubDate>Tue, 14 Dec 2010 08:13:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17672&amp;PID=61805&amp;title=ribbonbar-does-not-wrap-menus#61805</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbonbar does not wrap menus : Hi,When using the ribbon bar as...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17672&amp;PID=61801&amp;title=ribbonbar-does-not-wrap-menus#61801</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6296">Hemesh</a><br /><strong>Subject:</strong> 17672<br /><strong>Posted:</strong> 14 December 2010 at 6:50am<br /><br />Hi,<br><br>When using the ribbon bar as the menu system (to get the the Big O) I don't seem to be able to get the menus to wrap and drop down onto the next line.<br><br><img src="uploads/6296/ToolBarAutoWrapIssue-Ribb&#111;nBarNotWrapping.PNG" height="91" width="454" border="0" /><br><br>But when just using the command bar it just works.<br><img src="uploads/6296/ToolBarAutoWrapIssue-ToolbarOk.PNG" height="120" width="464" border="0" /><br><br>Does anyone know the setting i've missed?&nbsp; I just don't seem to to be able to see it.<br><br>I've attached a demo project with a bool to toggle both menu modes;<br><a href="uploads/6296/CodeJockMDIissue-MenuOverlap.zip" target="_blank">uploads/6296/CodeJockMDIissue-MenuOverlap.zip</a><br><br>And this is the code;<br><br><font face="Arial, Helvetica, sans-serif" size="1">Private Sub MDIForm_Load()<br>&nbsp;&nbsp;&nbsp; Dim objRibbon As RibbonBar<br>&nbsp;&nbsp;&nbsp; Dim objRootMenuBar As CommandBar<br>&nbsp;&nbsp;&nbsp; Dim objControl As CommandBarControl<br>&nbsp;&nbsp;&nbsp; Dim blnUseRibbon As Boolean<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; </font><font color="#FF0000" face="Arial, Helvetica, sans-serif" size="1"><b>blnUseRibbon = True</b></font><font face="Arial, Helvetica, sans-serif" size="1"><br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; CommandBarsGlobalSettings.App = App<br><br>&nbsp;&nbsp;&nbsp; SkinFramework1.LoadSkin App.Path &amp; "\Styles\" &amp; "Office2007.cjstyles", "NORMALBLACK.INI"<br>&nbsp;&nbsp;&nbsp; 'SkinFramework1.LoadSkin App.Path &amp; "\Styles\" &amp; "Office2007.cjstyles", "NORMALBLUE.INI"<br>&nbsp;&nbsp;&nbsp; SkinFramework1.ApplyOptions = xtpSkinApplyMetrics Or xtpSkinApplyFrame Or xtpSkinApplyColors Or xtpSkinApplyMenus<br><br>&nbsp;&nbsp;&nbsp; SkinFramework1.ApplyWindow Me.hWnd<br>&nbsp;&nbsp;&nbsp; CommandBarsGlobalSettings.Office2007Images = App.Path &amp; "\Styles\" &amp; "Office2007Black.dll"<br>&nbsp;&nbsp;&nbsp; If blnUseRibbon Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SkinFramework1.RemoveWindow Me.hWnd<br>&nbsp;&nbsp;&nbsp; End If<br><br>&nbsp;&nbsp;&nbsp; CommandBars1.EnableActions<br>&nbsp;&nbsp;&nbsp; CommandBars1.VisualTheme = xtpThemeOffice2007<br><br>&nbsp;&nbsp;&nbsp; With CommandBars1.Options<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .KeyboardCuesShow = xtpKeyboardCuesShowAlways<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .KeyboardCuesUse = xtpKeyboardCuesUseNone<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShowKeyboardTips = True<br>&nbsp;&nbsp;&nbsp; End With<br><br>&nbsp;&nbsp;&nbsp; ' Create ribbon bar<br>&nbsp;&nbsp;&nbsp; If blnUseRibbon Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set objRibbon = CommandBars1.AddRibbonBar("RB")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; objRibbon.EnableDocking xtpFlagAlignTop<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; objRibbon.EnableFrameTheme<br>&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set objRootMenuBar = CommandBars1.AddMenuBar("MAIN")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; objRootMenuBar.ShowGripper = False<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp; ' Big O system button<br>&nbsp;&nbsp;&nbsp; If blnUseRibbon Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set objControl = objRibbon.AddSystemButton<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set objRootMenuBar = objControl.Parent<br>&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set objControl = objRootMenuBar.Controls.Add(xtpControlPopup, 78, "File")<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; objControl.CommandBar.Controls.Add xtpControlButton, 1, "AAA"<br>&nbsp;&nbsp;&nbsp; objControl.CommandBar.Controls.Add xtpControlButton, 2, "BBB"<br>&nbsp;&nbsp;&nbsp; objControl.CommandBar.Controls.Add xtpControlButton, 3, "CCC"<br><br>&nbsp;&nbsp;&nbsp; Dim a As Integer<br><br>&nbsp;&nbsp;&nbsp; For a = 0 To 10<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Invoice Menu<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set objControl = objRootMenuBar.Controls.Add(xtpControlButtonPopup, 300, "Menu " &amp; a)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; objControl.CommandBar.Controls.Add xtpControlButton, 301, "New Invoice"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; objControl.CommandBar.Controls.Add xtpControlButton, 302, "Amend Invoice"<br>&nbsp;&nbsp;&nbsp; Next a<br><br>&nbsp;&nbsp;&nbsp; ' Help Menu<br>&nbsp;&nbsp;&nbsp; Set objControl = objRootMenuBar.Controls.Add(xtpControlButtonPopup, 500, "Help")<br>&nbsp;&nbsp;&nbsp; objControl.Flags = xtpFlagRightAlign 'Or xtpFlagWrapRow<br><br>&nbsp;&nbsp;&nbsp; objControl.CommandBar.Controls.Add xtpControlButton, 501, "Help File"<br>&nbsp;&nbsp;&nbsp; objControl.CommandBar.Controls.Add xtpControlButton, 502, "About"<br>End Sub<br><br></font><br>]]>
   </description>
   <pubDate>Tue, 14 Dec 2010 06:50:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17672&amp;PID=61801&amp;title=ribbonbar-does-not-wrap-menus#61801</guid>
  </item> 
 </channel>
</rss>