<?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 : Problem with CXTButto::SetIcon</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Problem with CXTButto::SetIcon]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 22:31:08 +0000</pubDate>
  <lastBuildDate>Fri, 13 Apr 2007 00:34:29 +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=6854</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[Problem with CXTButto::SetIcon : Hi,  For alpha icons you can&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6854&amp;PID=21901&amp;title=problem-with-cxtbuttoseticon#21901</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6854<br /><strong>Posted:</strong> 13 April 2007 at 12:34am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>For alpha icons you can't set HICON. You can load bitmap:</DIV><DIV>m_btn1.SetBitmap(0, IDB_ALPHA_SETTINGS);<BR></DIV><DIV>or use CXTPImageManager.</DIV>]]>
   </description>
   <pubDate>Fri, 13 Apr 2007 00:34:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6854&amp;PID=21901&amp;title=problem-with-cxtbuttoseticon#21901</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with CXTButto::SetIcon : I have some buttons (use CXTButton)...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6854&amp;PID=21898&amp;title=problem-with-cxtbuttoseticon#21898</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2732">linfan</a><br /><strong>Subject:</strong> 6854<br /><strong>Posted:</strong> 12 April 2007 at 9:40pm<br /><br />I have some buttons (use CXTButton) in my application, and I've stored all the icons (32bits) they need in a CImageList, so I use the following code to set icon of the buttons.<br><br><font color="#0000ff" face="Courier New, Courier, mono" size="2">for (int i...)<br>{<br>&nbsp;&nbsp;&nbsp; m_btn<em>.SetIcon(szIcon, m_imglstButtons.ExtractIcon(i));<br>}</font><br><br>It works. The problem is that when I disable a button, the grey icon shows with a black background, what's wrong?<br>]]>
   </description>
   <pubDate>Thu, 12 Apr 2007 21:40:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6854&amp;PID=21898&amp;title=problem-with-cxtbuttoseticon#21898</guid>
  </item> 
 </channel>
</rss>