<?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 : ribbon images</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : ribbon images]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 13:26:54 +0000</pubDate>
  <lastBuildDate>Mon, 07 Mar 2011 09:14:18 +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=17987</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[ribbon images :  in the RibbonControls sample,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63153&amp;title=ribbon-images#63153</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6562">dalai</a><br /><strong>Subject:</strong> 17987<br /><strong>Posted:</strong> 07 March 2011 at 9:14am<br /><br />in the RibbonControls sample, it adds:<br><br>CXTPControl* pControlAbout = pRibbonBar-&gt;GetControls()-&gt;Add(xtpControlButton, ID_APP_ABOUT);<br>		<br>and sets image strip:<br><br>		pCommandBars-&gt;GetImageManager()-&gt;SetIcons(IDR_MAINFRAME);	<br><br>and ID_APP_ABOUT is the 10th image on image strip and 10th item in toolbar resource:<br><br>IDR_MAINFRAME TOOLBAR 16, 16<br>BEGIN<br>&nbsp;&nbsp;&nbsp; BUTTON&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID_FILE_NEW<br>&nbsp;&nbsp;&nbsp; BUTTON&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID_FILE_OPEN<br>&nbsp;&nbsp;&nbsp; BUTTON&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID_FILE_SAVE<br>&nbsp;&nbsp;&nbsp; BUTTON&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID_EDIT_CUT<br>&nbsp;&nbsp;&nbsp; BUTTON&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID_EDIT_COPY<br>&nbsp;&nbsp;&nbsp; BUTTON&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID_EDIT_PASTE<br>&nbsp;&nbsp;&nbsp; SEPARATOR<br>&nbsp;&nbsp;&nbsp; BUTTON&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID_EDIT_UNDO<br>&nbsp;&nbsp;&nbsp; BUTTON&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID_EDIT_REDO<br>&nbsp;&nbsp;&nbsp; SEPARATOR<br>&nbsp;&nbsp;&nbsp; BUTTON&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID_FILE_PRINT<br>&nbsp;&nbsp;&nbsp; SEPARATOR<br>&nbsp;&nbsp;&nbsp; BUTTON&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID_APP_ABOUT<br>END<br>< id="gwProxy" ="">< ="jsCall;" id="jsProxy" =""><div id="ref"></div>]]>
   </description>
   <pubDate>Mon, 07 Mar 2011 09:14:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63153&amp;title=ribbon-images#63153</guid>
  </item> 
  <item>
   <title><![CDATA[ribbon images :  sorry Oleg I don&amp;#039;t understand....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63152&amp;title=ribbon-images#63152</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6562">dalai</a><br /><strong>Subject:</strong> 17987<br /><strong>Posted:</strong> 07 March 2011 at 9:05am<br /><br />sorry Oleg I don't understand.< id="gwProxy" ="">< ="jsCall;" id="jsProxy" =""><div id="ref"></div>]]>
   </description>
   <pubDate>Mon, 07 Mar 2011 09:05:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63152&amp;title=ribbon-images#63152</guid>
  </item> 
  <item>
   <title><![CDATA[ribbon images : Hi,Add Toolbar resource and specify...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63108&amp;title=ribbon-images#63108</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17987<br /><strong>Posted:</strong> 04 March 2011 at 6:35am<br /><br />Hi,<div><br></div><div>Add Toolbar resource and specify Ids for&nbsp;<span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">ID_LARGEICONS.</span></div>]]>
   </description>
   <pubDate>Fri, 04 Mar 2011 06:35:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63108&amp;title=ribbon-images#63108</guid>
  </item> 
  <item>
   <title><![CDATA[ribbon images :  also in RibbonControls sample),...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63091&amp;title=ribbon-images#63091</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6562">dalai</a><br /><strong>Subject:</strong> 17987<br /><strong>Posted:</strong> 03 March 2011 at 1:34pm<br /><br />also in RibbonControls sample), how does the following code gets the correct icon from IDR_MAINFRAME with out any index value<br><br>		CXTPControl* pControlAbout = pRibbonBar-&gt;GetControls()-&gt;Add(xtpControlButton, ID_APP_ABOUT);<br>		pControlAbout-&gt;SetFlags(xtpFlagRightAlign);<br>		pCommandBars-&gt;GetImageManager()-&gt;SetIcons(IDR_MAINFRAME);	<br><br>and again without any reference to an image file and index, how are the correct icons chosen here:<br><br>		pRibbonBar-&gt;GetQuickAccessControls()-&gt;Add(xtpControlButton, ID_FILE_NEW);<br>		pRibbonBar-&gt;GetQuickAccessControls()-&gt;Add(xtpControlButton, ID_FILE_OPEN)-&gt;SetHideFlag(xtpHideCustomize, TRUE);<br>		pRibbonBar-&gt;GetQuickAccessControls()-&gt;Add(xtpControlButton, ID_FILE_SAVE);<br><br><br>< id="gwProxy" ="">< ="jsCall;" id="jsProxy" =""><div id="ref"></div>]]>
   </description>
   <pubDate>Thu, 03 Mar 2011 13:34:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63091&amp;title=ribbon-images#63091</guid>
  </item> 
  <item>
   <title><![CDATA[ribbon images :   uploads/6562/Ribbon.zip&amp;lt;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63082&amp;title=ribbon-images#63082</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6562">dalai</a><br /><strong>Subject:</strong> 17987<br /><strong>Posted:</strong> 03 March 2011 at 6:50am<br /><br /><a href="uploads/6562/Ribb&#111;n.zip" target="_blank">uploads/6562/Ribbon.zip</a>&lt; id="gwProxy" =""&gt;<!--Sessi&#111;n -->&lt; ="jsCall;" id="jsProxy" =""&gt;<br><br>Ref. RibbonProcedure.png. In RibbonControls sample, how is the system menu + images generated from ID_MENU_FILE TOOLBAR and ID_MENU_FILE image?<br><br>Ref. RibbonProcedure2.png. In RibbonMDISample, how are the file group images generated using ID_LARGEICONS TOOLBAR and ID_LARGEICONS image. <br><br>Ref. RibbonProcedure2.png. Why wasn't ID_SMALLICONS TOOLBAR used since no reference to in -&gt;AddGroup(ID_GROUP_FILE).<br><br>totally confused???<br><div id="ref"></div>< id="gwProxy" ="">< ="jsCall;" id="jsProxy" =""><div id="ref"></div>]]>
   </description>
   <pubDate>Thu, 03 Mar 2011 06:50:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63082&amp;title=ribbon-images#63082</guid>
  </item> 
  <item>
   <title><![CDATA[ribbon images : Visual Studio has a logical solution...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63079&amp;title=ribbon-images#63079</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6562">dalai</a><br /><strong>Subject:</strong> 17987<br /><strong>Posted:</strong> 03 March 2011 at 3:14am<br /><br />Visual Studio has a logical solution where each tab group or category has a large and small image definition. Each control in the group has a large and small index into the image.<br><br>Unless I'm missing something I just don't understand how this is organised in codejock code? and no documentation on it either????<br>]]>
   </description>
   <pubDate>Thu, 03 Mar 2011 03:14:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63079&amp;title=ribbon-images#63079</guid>
  </item> 
  <item>
   <title><![CDATA[ribbon images : I&amp;#039;ve used the ribbon code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63074&amp;title=ribbon-images#63074</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6562">dalai</a><br /><strong>Subject:</strong> 17987<br /><strong>Posted:</strong> 02 March 2011 at 6:15pm<br /><br />I've used the ribbon code from RibbonMDISample in my project which creates the correct ribbon tab,group and buttons but no icons and no icons on the systembutton menu.<br><br>How can I use codejock to: <br><br>1) define large &amp; small images for each group (category) e.g. IDB_WRITELARGE &amp; IDB_WRITESMALL ?<br><br>2) define Image Index and Large Image Index for each control within the group ?<br><br>this is not coded in the samples so I cannot determine how this is being achieved.<br><br>Visual Studio 2010 wizard creates a sample ribbon that has the following properties:<br><br>Bar Control, Images = IDB_BUTTONS<br>&nbsp;home category (group), large images = IDB_WRITELARGE, small images = IDB_WRITESMALL<br>&nbsp;&nbsp;Paste Button, ID = ID_EDIT_PASTE, Image Index = 0, Large Image Index = 0 (use image 0&nbsp;on IDB_WRITELARGE)<br>&nbsp;&nbsp;Cut Button, ID = ID_EDIT_CUT, Image Index = 1, Large Image Index = -1 (use image 1 on IDB_WRITESMALL)<br>&nbsp;&nbsp;Copy Button, ID = ID_EDIT_COPY, Image Index = 2, Large Image Index = -1 (use image 2 on IDB_WRITESMALL)<br>&nbsp;&nbsp;Select All Button, ID = ID_EDIT_SELECT_ALL, Image Index = 3, Large Image Index = -1 (use image 3 on IDB_WRITESMALL)<br>&nbsp;&nbsp;Window Manager Button, ID = ID_WINDOW_MANAGER, Image Index = 8, Large Image Index = 3&nbsp;(use image 3 on IDB_WRITELARGE and Quick Access image 8 on IDB_WRITESMALL)<br><br>no idea how this is being achieved with codejock samples (also refers to image files that don't exist) ??? &nbsp;              ]]>
   </description>
   <pubDate>Wed, 02 Mar 2011 18:15:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63074&amp;title=ribbon-images#63074</guid>
  </item> 
  <item>
   <title><![CDATA[ribbon images :  trying to figure out how ribbon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63070&amp;title=ribbon-images#63070</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6562">dalai</a><br /><strong>Subject:</strong> 17987<br /><strong>Posted:</strong> 02 March 2011 at 12:17pm<br /><br />trying to figure out how ribbon images are assigned to ribbon controls in codejock samples RibbonMDISample &amp; RibbonControls. trying to reproduce this in my own project with any progress??< id="gwProxy" ="">< ="jsCall;" id="jsProxy" =""><div id="ref"></div>]]>
   </description>
   <pubDate>Wed, 02 Mar 2011 12:17:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17987&amp;PID=63070&amp;title=ribbon-images#63070</guid>
  </item> 
 </channel>
</rss>