<?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 : Grouping Controls on a Ribbon</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Grouping Controls on a Ribbon]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 02:24:56 +0000</pubDate>
  <lastBuildDate>Tue, 06 May 2008 12:51:28 +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=10509</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[Grouping Controls on a Ribbon : Understood and agreed ...  Maybe...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10509&amp;PID=34811&amp;title=grouping-controls-on-a-ribbon#34811</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4131">cpehonk</a><br /><strong>Subject:</strong> 10509<br /><strong>Posted:</strong> 06 May 2008 at 12:51pm<br /><br />Understood and agreed ...<img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"><DIV>&nbsp;</DIV><DIV>Maybe this is a job for Oleg again ...</DIV><DIV>&nbsp;</DIV><DIV>Greetings,</DIV><DIV>Chris</DIV>]]>
   </description>
   <pubDate>Tue, 06 May 2008 12:51:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10509&amp;PID=34811&amp;title=grouping-controls-on-a-ribbon#34811</guid>
  </item> 
  <item>
   <title><![CDATA[Grouping Controls on a Ribbon : Consider the following group:    This...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10509&amp;PID=34799&amp;title=grouping-controls-on-a-ribbon#34799</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3787">Danlar</a><br /><strong>Subject:</strong> 10509<br /><strong>Posted:</strong> 06 May 2008 at 10:44am<br /><br />Consider the following group:<br /><br /><img src="uploads/20080506_103638_example_sep.jpg" border="0"><br /><br />This group was constructed with the following code:<br /><br /><table width="99%"><tr><td><pre class="BBcode">CXTPRibbonTab* tab = pRibbonBar-&gt;AddTab(_T("TestTab"));<br />CXTPRibbonGroup* group = tab-&gt;AddGroup(_T("TestGroup"));<br /><br />group-&gt;Add(xtpControlButton, ID_EDIT_PASTE)-&gt;SetBeginGroup(TRUE);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />group-&gt;Add(xtpControlButton, ID_EDIT_PASTE)-&gt;SetBeginGroup(TRUE);<br />group-&gt;Add(xtpControlButton, ID_EDIT_PASTE);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />group-&gt;Add(xtpControlButton, ID_EDIT_PASTE)-&gt;SetBeginGroup(TRUE);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />group-&gt;Add(xtpControlButton, ID_EDIT_PASTE)-&gt;SetBeginGroup(TRUE);<br />group-&gt;Add(xtpControlButton, ID_EDIT_PASTE);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />group-&gt;Add(xtpControlButton, ID_EDIT_PASTE)-&gt;SetBeginGroup(TRUE);<br />group-&gt;Add(xtpControlButton, ID_EDIT_PASTE);<br /><br />group-&gt;SetControlsGrouping(FALSE);</pre></td></tr></table><br /><br />Now, if I change that very last line of code to read as <font face="Courier New, Courier, mono">group-&gt;SetControlsGrouping(TRUE)</font>, the group will look like this instead:<br /><br /><img src="uploads/20080506_103914_example_grp.jpg" border="0"><br /><br />The <font face="Courier New, Courier, mono">CXTPControl::SetBeginGroup</font> function has different results if you change the argument to <font face="Courier New, Courier, mono">CXTPRibbonGroup::SetControlsGrouping</font>. You don't get separators anymore. I'm trying to find a way to blend both results in a single group, the way Microsoft Excel 2007 appears to be doing it in the screenshot of my previous post.<br /><br />Furthermore, I added calls to <font face="Courier New, Courier, mono">CXTPControl::SetStyle</font> to the last two controls in the above code, using <font face="Courier New, Courier, mono">xtpButtonIconAndCaption</font> and <font face="Courier New, Courier, mono">xtpButtonIconAndCaptionBelow</font> as arguments, and this was the result. <br /><br /><img src="uploads/20080506_103720_example_grp_sty.jpg" border="0"><br /><br />That seems a bit odd.<br /><br />It doesn't seem that CodeJock is capable of making a ribbon group that looks like the Excel image or the desired mock-up in my original post. I'm just looking to confirm this before I move on.<br /><br />-Dan]]>
   </description>
   <pubDate>Tue, 06 May 2008 10:44:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10509&amp;PID=34799&amp;title=grouping-controls-on-a-ribbon#34799</guid>
  </item> 
  <item>
   <title><![CDATA[Grouping Controls on a Ribbon : Hi Dan,  did you already try...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10509&amp;PID=34743&amp;title=grouping-controls-on-a-ribbon#34743</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4131">cpehonk</a><br /><strong>Subject:</strong> 10509<br /><strong>Posted:</strong> 06 May 2008 at 12:56am<br /><br />Hi Dan,<DIV>&nbsp;</DIV><DIV>did you already try to use "BeginGroup( TRUE)" on the first added control of the "sub-group" ? Didn't try this myself but it might work for you.</DIV><DIV>&nbsp;</DIV><DIV>It works perfectly for inserting separators so far ...</DIV><DIV>&nbsp;</DIV><DIV>Greetings,</DIV><DIV>Chris</DIV>]]>
   </description>
   <pubDate>Tue, 06 May 2008 00:56:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10509&amp;PID=34743&amp;title=grouping-controls-on-a-ribbon#34743</guid>
  </item> 
  <item>
   <title><![CDATA[Grouping Controls on a Ribbon : Hello,  I recently discovered...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10509&amp;PID=34732&amp;title=grouping-controls-on-a-ribbon#34732</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3787">Danlar</a><br /><strong>Subject:</strong> 10509<br /><strong>Posted:</strong> 05 May 2008 at 3:58pm<br /><br />Hello,<br /><br />I recently discovered the SetControlsGrouping function on CXTPRibbonGroup. For any unfamiliar readers, this function provides two alternative ways to "group" various controls within a single CXTPRibbonGroup. Here is an example from the RibbonSample of two different groups: The one and on the left has ControlsGrouping set to False, and the one on the right has it set to True.<br /><br /><img src="uploads/20080505_153353_ribb&#111;nSample.jpg" border="0"><br /><br />I noticed a ribbon group in Microsoft Excel 2007 that appears to be combining both of these styles within a single CXTPRibbonGroup. Is it possible with CodeJock to make a ribbon group appear like this one from excel? Note that the right half of this Ribbon Group is denoted with a separator, whereas the left half uses ControlsGrouping. I couldn't find a way to use separators when ControlsGrouping is True.<br /><br /><img src="uploads/20080505_153418_excel.jpg" border="0"><br /><br />Here is a mock-up of what we would most like our ribbon group to look like; is this possible? Notice how the far left control appears to be "ungrouped," and we have a separator in there, yet some controls are still "grouped" together (below the left combobox and in the top-right corner).<br /><br /><img src="uploads/20080505_153503_mockup.jpg" border="0"><br /><br />Thanks,<br />Dan Fike]]>
   </description>
   <pubDate>Mon, 05 May 2008 15:58:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10509&amp;PID=34732&amp;title=grouping-controls-on-a-ribbon#34732</guid>
  </item> 
 </channel>
</rss>