<?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 : Random GDI icons on Toobarbuttons</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Random GDI icons on Toobarbuttons]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 19:16:05 +0000</pubDate>
  <lastBuildDate>Tue, 09 Jun 2009 08:21: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=14480</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[Random GDI icons on Toobarbuttons : Hi all,We&amp;#039;ve been using the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14480&amp;PID=49742&amp;title=random-gdi-icons-on-toobarbuttons#49742</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3688">BobWansink</a><br /><strong>Subject:</strong> 14480<br /><strong>Posted:</strong> 09 June 2009 at 8:21am<br /><br />Hi all,<br><br>We've been using the Commandbars for a while now, and something seems to be going wrong. <br><br>Our toolbars are dynamic. We create them with a constructor and Add() them to CXPControl * pControls.<br><br>Everything seems in order, but sometimes we get icons that disappear; they are there the first time we load the dialog, but when the menu and toolbar's are recalculated, we get toolbaritems without icons, or worse, with random windows icons. <br><br>From Google, I've learned that random icons on toolbars often means that the gdi pool might be full. <br><br>Icons are loaded into a CImageList, and each Control that has an icon uses function CXTPControl::SetIconId(); to add an icon to the control.<br><br>Do any of you know what might cause my toolbar to display the wrong images?<br><br>Thanks in advance.<br><br>Bob<br>]]>
   </description>
   <pubDate>Tue, 09 Jun 2009 08:21:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14480&amp;PID=49742&amp;title=random-gdi-icons-on-toobarbuttons#49742</guid>
  </item> 
 </channel>
</rss>