<?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 : XTP 12.0 SetIcon Problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : XTP 12.0 SetIcon Problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 11:03:09 +0000</pubDate>
  <lastBuildDate>Tue, 24 Jun 2008 09:26:52 +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=11174</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[XTP 12.0 SetIcon Problem : Hi,  Send this png, send code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11174&amp;PID=37323&amp;title=xtp-12-0-seticon-problem#37323</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11174<br /><strong>Posted:</strong> 24 June 2008 at 9:26am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Send this png, send code you use to load it, we will test on our end.</DIV><DIV>&nbsp;</DIV><DIV></DIV>Thanks]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 09:26:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11174&amp;PID=37323&amp;title=xtp-12-0-seticon-problem#37323</guid>
  </item> 
  <item>
   <title><![CDATA[XTP 12.0 SetIcon Problem : We have tried even simple code,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11174&amp;PID=37310&amp;title=xtp-12-0-seticon-problem#37310</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 11174<br /><strong>Posted:</strong> 24 June 2008 at 3:41am<br /><br />We have tried even simple code, do you have an example of loading a png file to work with the above code, so load file then get hBitmap<DIV>&nbsp;</DIV><DIV>Cheers</DIV>]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 03:41:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11174&amp;PID=37310&amp;title=xtp-12-0-seticon-problem#37310</guid>
  </item> 
  <item>
   <title><![CDATA[XTP 12.0 SetIcon Problem : Hi,  Problem can be in method...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11174&amp;PID=37298&amp;title=xtp-12-0-seticon-problem#37298</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11174<br /><strong>Posted:</strong> 24 June 2008 at 1:03am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Problem can be in method you load it. Show code where you load this bitmap.</DIV>]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 01:03:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11174&amp;PID=37298&amp;title=xtp-12-0-seticon-problem#37298</guid>
  </item> 
  <item>
   <title><![CDATA[XTP 12.0 SetIcon Problem : We have images (items) in a gallery...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11174&amp;PID=37294&amp;title=xtp-12-0-seticon-problem#37294</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 11174<br /><strong>Posted:</strong> 23 June 2008 at 7:08pm<br /><br /><P =MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT face=C&#111;nsolas size=3>We have images (items) in a gallery control with alpha channel and they wont display in 16 bit color desktops if we use SetIcon as follows (</FONT><FONT face=C&#111;nsolas size=3>hBitmap contains a 32 bit alpha image):</FONT></P><P =MsoPlainText style="MARGIN: 0cm 0cm 0pt"><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face=C&#111;nsolas size=3></FONT></o:p>&nbsp;</P><P =MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT face=C&#111;nsolas size=3>GetImageManager()-&gt;SetIcon( hBitmap, nID, CSize( m_nWidth, m_nHeight ), xtpImageNormal );</FONT></P><P =MsoPlainText style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face=C&#111;nsolas size=3>&nbsp;</FONT></o:p></P><P =MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN style="mso-spacerun: yes"><FONT face=C&#111;nsolas size=3></FONT></SPAN></P><P =MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT face=C&#111;nsolas size=3>However all works fine if we have 32 bit color desktop</FONT></P><P =MsoPlainText style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face=C&#111;nsolas size=3>&nbsp;</FONT></o:p></P><P =MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT face=C&#111;nsolas size=3>Any ideas please</FONT></P><P =MsoPlainText style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face=C&#111;nsolas size=3>&nbsp;</FONT></o:p></P><P =MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT face=C&#111;nsolas size=3>Cheers</FONT></P><P =MsoPlainText style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face=C&#111;nsolas size=3>&nbsp;</FONT></o:p></P><P =MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT face=C&#111;nsolas size=3>Terry</FONT></P>]]>
   </description>
   <pubDate>Mon, 23 Jun 2008 19:08:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11174&amp;PID=37294&amp;title=xtp-12-0-seticon-problem#37294</guid>
  </item> 
 </channel>
</rss>