<?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 : Icon of collapsed Ribbon group</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Icon of collapsed Ribbon group]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 06:43:36 +0000</pubDate>
  <lastBuildDate>Mon, 01 Jul 2013 10:38:01 +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=21695</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[Icon of collapsed Ribbon group : But this seems to be a bug in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21695&amp;PID=71269&amp;title=icon-of-collapsed-ribbon-group#71269</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=365">Alex H.</a><br /><strong>Subject:</strong> 21695<br /><strong>Posted:</strong> 01 July 2013 at 10:38am<br /><br />But this seems to be a bug in XTP because the ID of the group is something different compared with the icon ID.<br>Means: <br><b>SetIconId</b><br>has a bug!<br>]]>
   </description>
   <pubDate>Mon, 01 Jul 2013 10:38:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21695&amp;PID=71269&amp;title=icon-of-collapsed-ribbon-group#71269</guid>
  </item> 
  <item>
   <title><![CDATA[Icon of collapsed Ribbon group : Thank you very much!This one w...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21695&amp;PID=71092&amp;title=icon-of-collapsed-ribbon-group#71092</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=365">Alex H.</a><br /><strong>Subject:</strong> 21695<br /><strong>Posted:</strong> 12 June 2013 at 2:59am<br /><br />Thank you very much!<br><br>This one works:<br><span style="font-size: 12px; line-height: 1.4;"><pre ="BBcode">pTab-&gt;GetGroups()-&gt;Add(_T("Fenster"), ID_WINDOW_SWITCH);</pre></span><img src="http://forum.codejock.com/smileys/smiley20.gif" border="0" alt="Thumbs Up" title="Thumbs Up" /><br>]]>
   </description>
   <pubDate>Wed, 12 Jun 2013 02:59:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21695&amp;PID=71092&amp;title=icon-of-collapsed-ribbon-group#71092</guid>
  </item> 
  <item>
   <title><![CDATA[Icon of collapsed Ribbon group : According to CXTPRibbonGroup header...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21695&amp;PID=71079&amp;title=icon-of-collapsed-ribbon-group#71079</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1263">Fredrik</a><br /><strong>Subject:</strong> 21695<br /><strong>Posted:</strong> 10 June 2013 at 5:02am<br /><br />According to CXTPRibbonGroup header file you should be able to use:<div><table width="99%"><tr><td><pre class="BBcode"></div><span ="Apple-tab-span" style="font-size: 12px; line-height: 1.4; white-space: pre;">	</span><span style="font-size: 12px; line-height: 1.4;">// Summary:</span><br><span ="Apple-tab-span" style="font-size: 12px; line-height: 1.4; white-space: pre;">	</span><span style="font-size: 12px; line-height: 1.4;">// &nbsp; &nbsp; Call this member to set the group icon's identifier. &nbsp;This is the Id of</span><br><span ="Apple-tab-span" style="font-size: 12px; line-height: 1.4; white-space: pre;">	</span><span style="font-size: 12px; line-height: 1.4;">// &nbsp; &nbsp; the image to use for the group button that is displayed when there</span><br><span ="Apple-tab-span" style="font-size: 12px; line-height: 1.4; white-space: pre;">	</span><span style="font-size: 12px; line-height: 1.4;">// &nbsp; &nbsp; is not enough room to display the items in the group.</span><br><div><span ="Apple-tab-span" style="white-space:pre">	</span>pGroup-&gt;SetIconId(int nId);</div><div></pre></td></tr></table></div><div>but it does not seem to work(?), at least not the following (using RibbonMDISample):</div><div><table width="99%"><tr><td><pre class="BBcode"></div><span style="font-size: 12px; line-height: 1.4;"><span ="Apple-tab-span" style="white-space:pre">	</span>CXTPRibbonGroup* pGroupFile = pTabHome-&gt;AddGroup(ID_GROUP_FILE);</span><br><div><div><span ="Apple-tab-span" style="white-space:pre">	</span>pGroupFile-&gt;SetIconId(ID_FILE_NEW);</div></div><div></pre></td></tr></table></div><div>However, try this:</div><div><span style="font-size: 12px; line-height: 1.4;"><table width="99%"><tr><td><pre class="BBcode">pTab-&gt;GetGroups()-&gt;Add(_T("Fenster"), ID_WINDOW_SWITCH);</span><span style="font-size: 12px; line-height: 1.4;"></pre></td></tr></table></span></div><div><br></div><div>or perhaps:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><blockquote style="margin: 0 0 0 40px; border: n&#111;ne; padding: 0px;"><div>pGroup = pTab-&gt;AddGroup(<span style="font-size: 12px; line-height: 1.4;">ID_WINDOW_SWITCH);</span></div><div><span style="font-size: 12px; line-height: 1.4;">pGroup-&gt;SetCaption(_T(</span>Fenster<span style="font-size: 12px; line-height: 1.4;">"));</span></div></blockquote><div></pre></td></tr></table></div><div><span style="font-size: 12px; line-height: 1.4;">It would have been&nbsp;</span>convenient<span style="font-size: 12px; line-height: 1.4;">&nbsp;if AddGroup could take an extra parameter for collapsed icon id.</span></div><div><br></div>]]>
   </description>
   <pubDate>Mon, 10 Jun 2013 05:02:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21695&amp;PID=71079&amp;title=icon-of-collapsed-ribbon-group#71079</guid>
  </item> 
  <item>
   <title><![CDATA[Icon of collapsed Ribbon group : Hi!How can i set the icon of a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21695&amp;PID=71071&amp;title=icon-of-collapsed-ribbon-group#71071</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=365">Alex H.</a><br /><strong>Subject:</strong> 21695<br /><strong>Posted:</strong> 07 June 2013 at 5:29am<br /><br />Hi!<br>How can i set the icon of a collapsed group?<br><br>&nbsp;<img src="uploads/365/group.png" height="194" width="150" border="0" /><br><br>]]>
   </description>
   <pubDate>Fri, 07 Jun 2013 05:29:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21695&amp;PID=71071&amp;title=icon-of-collapsed-ribbon-group#71071</guid>
  </item> 
 </channel>
</rss>