<?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 : CXTPControlGallery drawing bug!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPControlGallery drawing bug!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 23:29:11 +0000</pubDate>
  <lastBuildDate>Fri, 20 Oct 2006 22:58:13 +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=5332</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[CXTPControlGallery drawing bug! : Consider the RibbonSample, and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5332&amp;PID=16693&amp;title=cxtpcontrolgallery-drawing-bug#16693</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 5332<br /><strong>Posted:</strong> 20 October 2006 at 10:58pm<br /><br /><DIV>Consider the RibbonSample, and change CMainFrame::OnCreateControl as below:</DIV><DIV>&nbsp;</DIV><DIV>if (lpCreateControl-&gt;nID == ID_GALLERY_STYLESET)<BR>{<BR>&nbsp;&nbsp;&nbsp; CXTPControlGallery* pControlGallery = new CXTPControlGallery();<BR>&nbsp;&nbsp;&nbsp; // pControlGallery-&gt;SetControlSize(CSize(200, 22 * 7 + 2));<BR>&nbsp; &nbsp; pControlGallery-&gt;SetControlSize(CSize(200, 300 * 7 + 2)); // Too big!<BR>&nbsp;&nbsp;&nbsp; pControlGallery-&gt;ShowLabels(TRUE);<BR>&nbsp;&nbsp;&nbsp; pControlGallery-&gt;SetItems(m_pItemsStyleSet);</DIV><DIV>&nbsp;&nbsp;&nbsp; lpCreateControl-&gt;pControl = pControlGallery;<BR>&nbsp;&nbsp;&nbsp; return TRUE;<BR>}</DIV><DIV>&nbsp;</DIV><DIV>The items will not be displayed at all. A bug if you ask me. How do I fix it?</DIV>]]>
   </description>
   <pubDate>Fri, 20 Oct 2006 22:58:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5332&amp;PID=16693&amp;title=cxtpcontrolgallery-drawing-bug#16693</guid>
  </item> 
 </channel>
</rss>