<?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 : Multiple checked items in ribbon gallery?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Multiple checked items in ribbon gallery?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 15:54:13 +0000</pubDate>
  <lastBuildDate>Mon, 13 Oct 2008 05:50:25 +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=12411</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[Multiple checked items in ribbon gallery? : Hi,  Thanks, added virtual method:  BOOL...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12411&amp;PID=41927&amp;title=multiple-checked-items-in-ribbon-gallery#41927</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12411<br /><strong>Posted:</strong> 13 October 2008 at 5:50am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Thanks, added virtual method:</DIV><DIV>&nbsp;</DIV><DIV>BOOL CXTPControlGallery::IsItemChecked(CXTPControlGalleryItem* pItem)<BR>{<BR>&nbsp;return m_nChecked == pItem-&gt;GetID();<BR>}<BR></DIV><DIV>you will be able override it and return FALSE/TRUE.</DIV>]]>
   </description>
   <pubDate>Mon, 13 Oct 2008 05:50:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12411&amp;PID=41927&amp;title=multiple-checked-items-in-ribbon-gallery#41927</guid>
  </item> 
  <item>
   <title><![CDATA[Multiple checked items in ribbon gallery? : Ok, I admit you can do this by...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12411&amp;PID=41906&amp;title=multiple-checked-items-in-ribbon-gallery#41906</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 12411<br /><strong>Posted:</strong> 11 October 2008 at 9:34pm<br /><br />Ok, I admit you can do this by overriding CXTPControlGalleryItem::Draw(), but I do think the standard control should support this already :P]]>
   </description>
   <pubDate>Sat, 11 Oct 2008 21:34:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12411&amp;PID=41906&amp;title=multiple-checked-items-in-ribbon-gallery#41906</guid>
  </item> 
  <item>
   <title><![CDATA[Multiple checked items in ribbon gallery? : Seems impossible in XTP 12.0.2. From...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12411&amp;PID=41904&amp;title=multiple-checked-items-in-ribbon-gallery#41904</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 12411<br /><strong>Posted:</strong> 11 October 2008 at 5:52pm<br /><br /><P>Seems impossible in XTP 12.0.2.</P><DIV>From sample:</DIV><DIV>void CMainFrame::OnUpdateGalleryShapes(CCmdUI* pCmdUI)<BR>{<BR>&nbsp;CXTPControlGallery* pGallery = &nbsp;DYNAMIC_DOWNCAST(CXTPControlGallery, CXTPControl::FromUI(pCmdUI));<BR>&nbsp;<BR>&nbsp;if (pGallery)<BR>&nbsp;{</DIV><DIV>&nbsp;&nbsp;<strong>// Only one item is checked!</strong><BR><strong>&nbsp;&nbsp;pGallery-&gt;SetCheckedItem(m_nShape);<BR></strong>&nbsp;}<BR>&nbsp;pCmdUI-&gt;Enable(TRUE);<BR>}</DIV><DIV>&nbsp;</DIV><DIV>Often, I want to check multiple items, just like in a popup-menu! Could you please add that for 12.1.0?</DIV>]]>
   </description>
   <pubDate>Sat, 11 Oct 2008 17:52:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12411&amp;PID=41904&amp;title=multiple-checked-items-in-ribbon-gallery#41904</guid>
  </item> 
 </channel>
</rss>