<?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 : Poss Bug in Ribbon Gallery Image Display</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Poss Bug in Ribbon Gallery Image Display]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 04 Jun 2026 02:21:25 +0000</pubDate>
  <lastBuildDate>Mon, 11 Jun 2007 08:59:53 +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=7113</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[Poss Bug in Ribbon Gallery Image Display : this was a bug we had, however...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7113&amp;PID=23592&amp;title=poss-bug-in-ribbon-gallery-image-display#23592</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 7113<br /><strong>Posted:</strong> 11 June 2007 at 8:59am<br /><br />this was a bug we had, however if you upgrade to new version it is fixed.<DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 11 Jun 2007 08:59:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7113&amp;PID=23592&amp;title=poss-bug-in-ribbon-gallery-image-display#23592</guid>
  </item> 
  <item>
   <title><![CDATA[Poss Bug in Ribbon Gallery Image Display : Hi,  I&amp;#039;m adding a ribbonbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7113&amp;PID=22791&amp;title=poss-bug-in-ribbon-gallery-image-display#22791</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2992">Joe19</a><br /><strong>Subject:</strong> 7113<br /><strong>Posted:</strong> 11 May 2007 at 3:48pm<br /><br /><FONT face="Times New Roman, Times, serif" size=3>Hi,</FONT><DIV>&nbsp;</DIV><DIV><FONT face="Times New Roman, Times, serif" size=3>I'm adding a ribbonbar with a gallery as one of groups to my app.&nbsp; I've been using the SDI RibbonBar sample as my guide.&nbsp; I notice that when creating the gallery there may be a bug relating to the item ID versus the imageID.</FONT></DIV><DIV><FONT face="Times New Roman" size=3></FONT>&nbsp;</DIV><DIV><FONT face="Times New Roman" size=3>Here is the slightly modified code from the sample:</FONT></DIV><DIV><FONT face="Times New Roman, Times, serif" size=3></FONT>&nbsp;</DIV><DIV><FONT face="Times New Roman, Times, serif" size=2>&nbsp;m_pItemsShapes = CXTPControlGalleryItems::CreateItems(GetCommandBars(), ID_GALLERY_SHAPES);</FONT></DIV><FONT face="Times New Roman, Times, serif"><DIV><BR></FONT><FONT face="Times New Roman, Times, serif" size=2>&nbsp;m_pItemsShapes-&gt;AddItem(MY_ID1,&nbsp; 0);</FONT></DIV><P><FONT face="Times New Roman, Times, serif" size=2>If MY_ID1 is not 0, the gallery code tries to load the image indexed to the MY_ID1 value.&nbsp; This only occurs when the input imageID is 0.&nbsp; If you look at the sourcecode the problem is with</P><DIV><FONT size=2><P>CXTPControlGalleryItem::GetImage()</P></FONT>Work around is to put an empty image "spacer" in first position for the bitmap holding the gallery images.<BR></DIV></FONT>]]>
   </description>
   <pubDate>Fri, 11 May 2007 15:48:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7113&amp;PID=22791&amp;title=poss-bug-in-ribbon-gallery-image-display#22791</guid>
  </item> 
 </channel>
</rss>