<?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 drawing bitmaps with alphachannel</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Visual C++ MFC : Problem drawing bitmaps with alphachannel]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 09 Apr 2026 21:50:10 +0000</pubDate>
  <lastBuildDate>Fri, 27 Nov 2009 10:11:05 +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=15736</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 drawing bitmaps with alphachannel : Hi,the following problem:Drawing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15736&amp;PID=55227&amp;title=problem-drawing-bitmaps-with-alphachannel#55227</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1613">andolo</a><br /><strong>Subject:</strong> 15736<br /><strong>Posted:</strong> 27 November 2009 at 10:11am<br /><br />Hi,<br><br>the following problem:<br><br>Drawing an image with semi-transparency (using alpha32 bitmaps / png) f.E. from the Styles works fine. <br>Now i am changing some pixels to RGB values bigger than 0x80.<br><br>(f.E. COLOUR1 0x14001E is ok,&nbsp; COLOUR2 RGB 0xFFCC00 shows wrong colour and no alpha, both with 30% alpha )<br>The stripe behind the text:&nbsp; purple colour is ok on the left &nbsp; <img src="uploads/20091127_100705_BadBlending.png" height="52" width="207" border="0"> right side colour should be a light pink an transparent<br><br>I can't properly draw an image containing pixels of COLOUR2 independent of the alpha channel.<br><br><br>remark: using the same image with CImageList::Draw works fine! Problem: I am unable to change the output size.<br><br><br>Am i using the wrong functions?&nbsp; i use the following code:<br><br><br>// xtptoolkit 13.x<br>// class inherited from CXTPRibbonTheme -&gt; calling CXTPOffice2007Theme::LoadImage<br><br><br>CXTPOffice2007Image* pImage = CXTPRibbonTheme::LoadImage(_T("RIBBONTABBACKGROUNDDWM")); &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br>pImage-&gt;DrawImage(pDC, rcDest, pImage-&gt;GetSource());]]>
   </description>
   <pubDate>Fri, 27 Nov 2009 10:11:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15736&amp;PID=55227&amp;title=problem-drawing-bitmaps-with-alphachannel#55227</guid>
  </item> 
 </channel>
</rss>