﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-miracle-最新评论</title><link>http://www.cppblog.com/miracle/CommentsRSS.aspx</link><description /><language>zh-cn</language><pubDate>Tue, 22 Dec 2009 15:02:22 GMT</pubDate><lastBuildDate>Tue, 22 Dec 2009 15:02:22 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 解决关于GDI+ Bitmap::FromHICON 图片变黑边的问题</title><link>http://www.cppblog.com/miracle/archive/2010/09/19/103649.html#127080</link><dc:creator>你条草</dc:creator><author>你条草</author><pubDate>Sun, 19 Sep 2010 09:57:00 GMT</pubDate><guid>http://www.cppblog.com/miracle/archive/2010/09/19/103649.html#127080</guid><description><![CDATA[楼主英明，但这个方法并不是所有图标都能够解决，部分Hlep（帮助说明文档、vc++6.0）等旧式图标会无法显示出来，估计是透明通道上全被0x00所填充吧，因为我是将提取到的文件图标画到32位格式的背景上，带透明度值<br>所以后来采用CDC上的DrawIcon，效果同楼主一样，但是我说的旧式图标就能够显示，但显示出来是半透明的，如果底色是纯白色就看不到图标，如果背景不是纯白色就能够看到图标……<br>希望知道楼主有没有较好的解决方案！<img src ="http://www.cppblog.com/miracle/aggbug/127080.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/miracle/" target="_blank">你条草</a> 2010-09-19 17:57 <a href="http://www.cppblog.com/miracle/archive/2010/09/19/103649.html#127080#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>