<?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 : Alpha channel doesn&#039;t work with Vista black...</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Alpha channel doesn&#039;t work with Vista black...]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 08:47:00 +0000</pubDate>
  <lastBuildDate>Mon, 21 Jul 2008 15:39:32 +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=11496</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[Alpha channel doesn&#039;t work with Vista black... : Cool, that works fine as long...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11496&amp;PID=38644&amp;title=alpha-channel-doesnt-work-with-vista-black#38644</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=374">ddlittle</a><br /><strong>Subject:</strong> 11496<br /><strong>Posted:</strong> 21 July 2008 at 3:39pm<br /><br />Cool, that works fine as long as I only load the 16x16 size, but that's the size I need anyway.&nbsp; Now my app is very nice looking.&nbsp;&nbsp; <img src="https://forum.codejock.com/smileys/smiley4.gif" border="0"><DIV>&nbsp;</DIV><DIV>- David</DIV>]]>
   </description>
   <pubDate>Mon, 21 Jul 2008 15:39:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11496&amp;PID=38644&amp;title=alpha-channel-doesnt-work-with-vista-black#38644</guid>
  </item> 
  <item>
   <title><![CDATA[Alpha channel doesn&#039;t work with Vista black... : Hi,  use wndReportControl.GetImageManager()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11496&amp;PID=38636&amp;title=alpha-channel-doesnt-work-with-vista-black#38636</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11496<br /><strong>Posted:</strong> 21 July 2008 at 1:08pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>use wndReportControl.GetImageManager() to get ImageManager of report.</DIV>]]>
   </description>
   <pubDate>Mon, 21 Jul 2008 13:08:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11496&amp;PID=38636&amp;title=alpha-channel-doesnt-work-with-vista-black#38636</guid>
  </item> 
  <item>
   <title><![CDATA[Alpha channel doesn&#039;t work with Vista black... : That worked great for everything...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11496&amp;PID=38626&amp;title=alpha-channel-doesnt-work-with-vista-black#38626</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=374">ddlittle</a><br /><strong>Subject:</strong> 11496<br /><strong>Posted:</strong> 21 July 2008 at 10:53am<br /><br /><P>That worked great for everything except for the report column icons.&nbsp; Those come from an image list and I don't see a method in CXTPReportColumn that uses an icon.&nbsp; </P><DIV>Any ideas on that?</DIV><DIV>&nbsp;</DIV><DIV>Thanks!&nbsp; I was thinking I was going to have to have somebody redraw all my icons...</DIV><DIV>&nbsp;</DIV><DIV>- David</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 21 Jul 2008 10:53:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11496&amp;PID=38626&amp;title=alpha-channel-doesnt-work-with-vista-black#38626</guid>
  </item> 
  <item>
   <title><![CDATA[Alpha channel doesn&#039;t work with Vista black... : yes, don&amp;#039;t use CImageList...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11496&amp;PID=38604&amp;title=alpha-channel-doesnt-work-with-vista-black#38604</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11496<br /><strong>Posted:</strong> 21 July 2008 at 4:05am<br /><br />yes, don't use CImageList to load icons.<DIV>&nbsp;</DIV><DIV>set icons directly</DIV><DIV>&nbsp;</DIV><DIV>CXTPImageManagerIconHandle hIcon;</DIV><DIV>hIcon.CreateIconFromResource(iconInst, iconIds&#091;x&#093;.cmd,&nbsp;&nbsp;&nbsp;&nbsp;szResourceIcon, FALSE)</DIV><DIV>&nbsp;</DIV><DIV>XTPImageManager()-&gt;SetIcon(hIcon, cmd);</DIV>]]>
   </description>
   <pubDate>Mon, 21 Jul 2008 04:05:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11496&amp;PID=38604&amp;title=alpha-channel-doesnt-work-with-vista-black#38604</guid>
  </item> 
  <item>
   <title><![CDATA[Alpha channel doesn&#039;t work with Vista black... : I don&amp;#039;t know if it&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11496&amp;PID=38581&amp;title=alpha-channel-doesnt-work-with-vista-black#38581</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=374">ddlittle</a><br /><strong>Subject:</strong> 11496<br /><strong>Posted:</strong> 19 July 2008 at 1:57pm<br /><br />I don't know if it's a black problem or not, but my alpha channel on my custom icons looks like a big black hole around the icons.&nbsp; I've noticed in other places in this forum that i should stop using CImageList, but I'm not sure how to do that.&nbsp; Here's my icon loading code (I load icons from a resource-only DLL so I can share between apps):<DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>&nbsp;HINSTANCE iconInst = (HINSTANCE)LoadLibrary(&lt;someDLLname&gt;);<BR>&nbsp;if(iconInst)<BR>&nbsp;{<BR>&nbsp;&nbsp;CImageList imgList32;<BR>&nbsp;&nbsp;CImageList imgList16;<BR>&nbsp;&nbsp;HRESULT hr;<BR>&nbsp;&nbsp;imgList32.Create(32,32,ILC_COLORDDB|ILC_MASK,0,1);<BR>&nbsp;&nbsp;imgList16.Create(16,16,ILC_COLORDDB|ILC_MASK,0,1);</DIV><DIV>&nbsp;&nbsp;stdButtons = new UINT&#091;btnCount&#093;;</DIV><DIV>&nbsp;&nbsp;int howMany32=0;<BR>&nbsp;&nbsp;int howMany16=0;<BR>&nbsp;&nbsp;for(int x=0;x&lt;btnCount;x++)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;stdButtons&#091;x&#093; = iconIds&#091;x&#093;.cmd;<BR>&nbsp;&nbsp;&nbsp;HICON hIcon = ::LoadIcon(iconInst,MAKEINTRESOURCE(iconIds&#091;x&#093;.icon));<BR>&nbsp;&nbsp;&nbsp;if(!hIcon)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;hIcon = AfxGetApp()-&gt;LoadStandardIcon(IDI_QUESTION);<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;howMany32 = imgList32.Add(hIcon);&nbsp; // load the 32x32 one<BR>&nbsp;&nbsp;&nbsp;howMany16 = imgList16.Add(hIcon);&nbsp; // and the 16x16<BR>&nbsp;&nbsp;}</DIV><DIV>&nbsp;&nbsp;// now set both sizes of the images for XTP...<BR></DIV><DIV>&nbsp;&nbsp;hr=&nbsp;XTPImageManager()-&gt;SetIcons((CImageList&amp;)imgList32,stdButtons,btnCount,CSize(32,32));<BR>&nbsp;&nbsp;hr=&nbsp;XTPImageManager()-&gt;SetIcons((CImageList&amp;)imgList16,stdButtons,btnCount,CSize(16,16));<BR></pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>Any ideas?</DIV><DIV>&nbsp;</DIV><DIV>Thanks!</DIV><DIV>&nbsp;</DIV><DIV>- David</DIV>]]>
   </description>
   <pubDate>Sat, 19 Jul 2008 13:57:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11496&amp;PID=38581&amp;title=alpha-channel-doesnt-work-with-vista-black#38581</guid>
  </item> 
 </channel>
</rss>