﻿<?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++博客-MUILIB</title><link>http://www.cppblog.com/bukebushuo/</link><description>让UI设计师的思想自由飞翔</description><language>zh-cn</language><lastBuildDate>Sat, 04 Apr 2026 04:25:46 GMT</lastBuildDate><pubDate>Sat, 04 Apr 2026 04:25:46 GMT</pubDate><ttl>60</ttl><item><title>推荐一款桌面日历软件</title><link>http://www.cppblog.com/bukebushuo/archive/2017/07/10/215079.html</link><dc:creator>bukebushuo</dc:creator><author>bukebushuo</author><pubDate>Mon, 10 Jul 2017 13:12:00 GMT</pubDate><guid>http://www.cppblog.com/bukebushuo/archive/2017/07/10/215079.html</guid><wfw:comment>http://www.cppblog.com/bukebushuo/comments/215079.html</wfw:comment><comments>http://www.cppblog.com/bukebushuo/archive/2017/07/10/215079.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/bukebushuo/comments/commentRss/215079.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/bukebushuo/services/trackbacks/215079.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一个小巧的可以替换系统日历的工具软件，适合各版本的Windows系统，针对DPI进行适配。&nbsp;&nbsp;<a href='http://www.cppblog.com/bukebushuo/archive/2017/07/10/215079.html'>阅读全文</a><img src ="http://www.cppblog.com/bukebushuo/aggbug/215079.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/bukebushuo/" target="_blank">bukebushuo</a> 2017-07-10 21:12 <a href="http://www.cppblog.com/bukebushuo/archive/2017/07/10/215079.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>一个替换Windows右下角托盘时钟的小工具 - 可以显示农历和星期，可换肤</title><link>http://www.cppblog.com/bukebushuo/archive/2017/04/06/214810.html</link><dc:creator>bukebushuo</dc:creator><author>bukebushuo</author><pubDate>Thu, 06 Apr 2017 02:03:00 GMT</pubDate><guid>http://www.cppblog.com/bukebushuo/archive/2017/04/06/214810.html</guid><wfw:comment>http://www.cppblog.com/bukebushuo/comments/214810.html</wfw:comment><comments>http://www.cppblog.com/bukebushuo/archive/2017/04/06/214810.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/bukebushuo/comments/commentRss/214810.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/bukebushuo/services/trackbacks/214810.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一个可以显示农历和星期的托盘日历时钟，可以完美替换系统的托盘时钟！&nbsp;&nbsp;<a href='http://www.cppblog.com/bukebushuo/archive/2017/04/06/214810.html'>阅读全文</a><img src ="http://www.cppblog.com/bukebushuo/aggbug/214810.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/bukebushuo/" target="_blank">bukebushuo</a> 2017-04-06 10:03 <a href="http://www.cppblog.com/bukebushuo/archive/2017/04/06/214810.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>从技术角度分析WIN10为何不全面支持窗口的玻璃特效</title><link>http://www.cppblog.com/bukebushuo/archive/2015/10/14/212012.html</link><dc:creator>bukebushuo</dc:creator><author>bukebushuo</author><pubDate>Wed, 14 Oct 2015 08:01:00 GMT</pubDate><guid>http://www.cppblog.com/bukebushuo/archive/2015/10/14/212012.html</guid><wfw:comment>http://www.cppblog.com/bukebushuo/comments/212012.html</wfw:comment><comments>http://www.cppblog.com/bukebushuo/archive/2015/10/14/212012.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cppblog.com/bukebushuo/comments/commentRss/212012.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/bukebushuo/services/trackbacks/212012.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 自从微软推出Win7系统以来，在Win7系统中的窗口模糊特效也就是所谓的毛玻璃特效很受大家的喜欢，但是自Win8开始，这个特效就没有了，就有很多 用户表示不满，强烈呼吁，最终在Win10的最新版本中又出现了有限范围的窗口毛玻璃特效，为啥这个这么受欢迎的功能特性却被反复折腾呢，有个说法就是， 实现这个特效，太费电，所以就经历了取消、再有限的追加这么一个阶段，个人认为，随着硬件技术的快速发展，这个特效的全面恢复为时不远了。那么，我们就从 技术层面上来说说为啥这个特效特别费电。&nbsp;&nbsp;<a href='http://www.cppblog.com/bukebushuo/archive/2015/10/14/212012.html'>阅读全文</a><img src ="http://www.cppblog.com/bukebushuo/aggbug/212012.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/bukebushuo/" target="_blank">bukebushuo</a> 2015-10-14 16:01 <a href="http://www.cppblog.com/bukebushuo/archive/2015/10/14/212012.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>获取桌面窗口句柄</title><link>http://www.cppblog.com/bukebushuo/archive/2014/06/26/207429.html</link><dc:creator>bukebushuo</dc:creator><author>bukebushuo</author><pubDate>Thu, 26 Jun 2014 14:46:00 GMT</pubDate><guid>http://www.cppblog.com/bukebushuo/archive/2014/06/26/207429.html</guid><wfw:comment>http://www.cppblog.com/bukebushuo/comments/207429.html</wfw:comment><comments>http://www.cppblog.com/bukebushuo/archive/2014/06/26/207429.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/bukebushuo/comments/commentRss/207429.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/bukebushuo/services/trackbacks/207429.html</trackback:ping><description><![CDATA[HWND FindDesktopIconWnd()<br />{<br />&nbsp;&nbsp; &nbsp;HWND hWndDesktop = NULL;<br />&nbsp;&nbsp; &nbsp;HWND hProgMan = ::FindWindow(L"Progman", NULL);<br />&nbsp;&nbsp; &nbsp;if (hProgMan)<br />&nbsp;&nbsp; &nbsp;{<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;HWND hShellDefView = ::FindWindowEx(hProgMan, NULL, L"SHELLDLL_DefView", NULL);<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;if (hShellDefView) hWndDesktop = ::FindWindowEx(hShellDefView, NULL, L"SysListView32", NULL);<br />&nbsp;&nbsp; &nbsp;}<br />&nbsp;&nbsp; &nbsp;if (hWndDesktop) return hWndDesktop;<br /><br />&nbsp;&nbsp; &nbsp;HWND hwndWorkerW = NULL;<br />&nbsp;&nbsp; &nbsp;HWND hShellDefView = NULL;<br />&nbsp;&nbsp; &nbsp;HWND hwndDesktop = NULL;<br />&nbsp;&nbsp; &nbsp;while (hwndDesktop == NULL)//必须存在桌面窗口层次 &nbsp;<br />&nbsp;&nbsp; &nbsp;{<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;hwndWorkerW = ::FindWindowEx(0, hwndWorkerW, L"WorkerW", NULL);//获得WorkerW类的窗口 &nbsp;<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;if (hwndWorkerW == NULL) break;//未知错误<br /><br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;hShellDefView = ::FindWindowEx(hwndWorkerW, NULL, L"SHELLDLL_DefView", NULL);<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;if (hShellDefView == NULL) continue;<br /><br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;hwndDesktop = hShellDefView;<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;//hwndDesktop = ::FindWindowEx(hShellDefView, NULL, L"SysListView32", NULL);<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;//hwndDesktop = ::FindWindowEx(hwndDesktop, NULL, L"SysHeader32", NULL);<br />&nbsp;&nbsp; &nbsp;}<br /><br />&nbsp;&nbsp; &nbsp;return hwndDesktop;<br />}<img src ="http://www.cppblog.com/bukebushuo/aggbug/207429.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/bukebushuo/" target="_blank">bukebushuo</a> 2014-06-26 22:46 <a href="http://www.cppblog.com/bukebushuo/archive/2014/06/26/207429.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>RGBA与BGRA转换</title><link>http://www.cppblog.com/bukebushuo/archive/2014/05/17/207001.html</link><dc:creator>bukebushuo</dc:creator><author>bukebushuo</author><pubDate>Sat, 17 May 2014 13:56:00 GMT</pubDate><guid>http://www.cppblog.com/bukebushuo/archive/2014/05/17/207001.html</guid><wfw:comment>http://www.cppblog.com/bukebushuo/comments/207001.html</wfw:comment><comments>http://www.cppblog.com/bukebushuo/archive/2014/05/17/207001.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/bukebushuo/comments/commentRss/207001.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/bukebushuo/services/trackbacks/207001.html</trackback:ping><description><![CDATA[<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pDstBit[0] = pSrcBit[2];<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pDstBit[1] = pSrcBit[1];<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pDstBit[2] = pSrcBit[0];<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pDstBit[3] = pSrcBit[3];</div><img src ="http://www.cppblog.com/bukebushuo/aggbug/207001.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/bukebushuo/" target="_blank">bukebushuo</a> 2014-05-17 21:56 <a href="http://www.cppblog.com/bukebushuo/archive/2014/05/17/207001.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>windows 2008R2中PHP5.4 连接到sqlserver2005</title><link>http://www.cppblog.com/bukebushuo/archive/2014/01/26/205563.html</link><dc:creator>bukebushuo</dc:creator><author>bukebushuo</author><pubDate>Sun, 26 Jan 2014 09:14:00 GMT</pubDate><guid>http://www.cppblog.com/bukebushuo/archive/2014/01/26/205563.html</guid><wfw:comment>http://www.cppblog.com/bukebushuo/comments/205563.html</wfw:comment><comments>http://www.cppblog.com/bukebushuo/archive/2014/01/26/205563.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/bukebushuo/comments/commentRss/205563.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/bukebushuo/services/trackbacks/205563.html</trackback:ping><description><![CDATA[1、客户端也就是PHP所在端需要安装Native Client<br />2、sqlserver端需要agent服务，开通tcp/ip和name 管道<br />2、WIN2K8需要关闭防火墙或者保证PHP端能ping通sqlserver服务器<br />3、注意serverName格式<br />&lt;?php<br />ini_set("display_errors","on");<br />$serverName = "192.168.0.103\WIN2008";<br />$connectionInfo = array("UID" =&gt; "sa", "PWD" =&gt; "sa", "Database"=&gt;"yysms");<br />$conn=sqlsrv_connect($serverName,$connectionInfo);<br />if ($conn === false)<br />&nbsp;{<br />&nbsp;&nbsp;&nbsp; &nbsp;die( print_r( sqlsrv_errors(), true));<br />}<br />else<br />{<br />&nbsp;&nbsp; &nbsp;echo "mssql2005 连接正确";<br />}<br />?&gt;<img src ="http://www.cppblog.com/bukebushuo/aggbug/205563.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/bukebushuo/" target="_blank">bukebushuo</a> 2014-01-26 17:14 <a href="http://www.cppblog.com/bukebushuo/archive/2014/01/26/205563.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>HTTP错误代码</title><link>http://www.cppblog.com/bukebushuo/archive/2014/01/18/205455.html</link><dc:creator>bukebushuo</dc:creator><author>bukebushuo</author><pubDate>Sat, 18 Jan 2014 03:29:00 GMT</pubDate><guid>http://www.cppblog.com/bukebushuo/archive/2014/01/18/205455.html</guid><wfw:comment>http://www.cppblog.com/bukebushuo/comments/205455.html</wfw:comment><comments>http://www.cppblog.com/bukebushuo/archive/2014/01/18/205455.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/bukebushuo/comments/commentRss/205455.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/bukebushuo/services/trackbacks/205455.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: HTTP错误代码&nbsp;&nbsp;<a href='http://www.cppblog.com/bukebushuo/archive/2014/01/18/205455.html'>阅读全文</a><img src ="http://www.cppblog.com/bukebushuo/aggbug/205455.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/bukebushuo/" target="_blank">bukebushuo</a> 2014-01-18 11:29 <a href="http://www.cppblog.com/bukebushuo/archive/2014/01/18/205455.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>VC2008在WIN8下安装后出现.net 组件未加载解决方法</title><link>http://www.cppblog.com/bukebushuo/archive/2014/01/03/205139.html</link><dc:creator>bukebushuo</dc:creator><author>bukebushuo</author><pubDate>Fri, 03 Jan 2014 07:58:00 GMT</pubDate><guid>http://www.cppblog.com/bukebushuo/archive/2014/01/03/205139.html</guid><description><![CDATA[实际已经安装，运行命令行： devenv /resetskippkgs重新配置即可<img src ="http://www.cppblog.com/bukebushuo/aggbug/205139.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/bukebushuo/" target="_blank">bukebushuo</a> 2014-01-03 15:58 <a href="http://www.cppblog.com/bukebushuo/archive/2014/01/03/205139.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>取颜色Alpha值作为四分量</title><link>http://www.cppblog.com/bukebushuo/archive/2013/09/27/203453.html</link><dc:creator>bukebushuo</dc:creator><author>bukebushuo</author><pubDate>Fri, 27 Sep 2013 02:57:00 GMT</pubDate><guid>http://www.cppblog.com/bukebushuo/archive/2013/09/27/203453.html</guid><wfw:comment>http://www.cppblog.com/bukebushuo/comments/203453.html</wfw:comment><comments>http://www.cppblog.com/bukebushuo/archive/2013/09/27/203453.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/bukebushuo/comments/commentRss/203453.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/bukebushuo/services/trackbacks/203453.html</trackback:ping><description><![CDATA[颜色值为AARRGGBB变换后为AAAAAAAA<br />初始颜色为：<br />112233445566778899AABBCCDDEEFF00<br /><br />&nbsp;&nbsp;&nbsp; __m128i TC = _mm_set_epi32(0x11223344, 0x55667788, 0x99AABBCC, 0xDDEEFF00);<br />&nbsp;&nbsp;&nbsp; TC = _mm_srli_epi32(TC, 24);<br />&nbsp;&nbsp;&nbsp; TC = _mm_shufflelo_epi16(TC, 0xa0);<br />&nbsp;&nbsp; &nbsp;TC = _mm_shufflehi_epi16(TC, 0xa0);<br />&nbsp;&nbsp;&nbsp; __m128i p = _mm_load_si128(&amp;TC);<br />&nbsp;&nbsp; &nbsp;TC = _mm_slli_epi16(TC, 8);<br />&nbsp;&nbsp; &nbsp;TC = _mm_or_si128(TC, p);<br /><br />此时的TC应该为<br />111111115555555599999999DDDDDDDD<br /><img src ="http://www.cppblog.com/bukebushuo/aggbug/203453.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/bukebushuo/" target="_blank">bukebushuo</a> 2013-09-27 10:57 <a href="http://www.cppblog.com/bukebushuo/archive/2013/09/27/203453.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>带Alpha的颜色混合公式</title><link>http://www.cppblog.com/bukebushuo/archive/2013/09/27/203452.html</link><dc:creator>bukebushuo</dc:creator><author>bukebushuo</author><pubDate>Fri, 27 Sep 2013 02:53:00 GMT</pubDate><guid>http://www.cppblog.com/bukebushuo/archive/2013/09/27/203452.html</guid><wfw:comment>http://www.cppblog.com/bukebushuo/comments/203452.html</wfw:comment><comments>http://www.cppblog.com/bukebushuo/archive/2013/09/27/203452.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/bukebushuo/comments/commentRss/203452.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/bukebushuo/services/trackbacks/203452.html</trackback:ping><description><![CDATA[Dst&nbsp;=&nbsp;(Src&nbsp;*&nbsp;Alpha&nbsp;&nbsp;+&nbsp;(256 &#8211;&nbsp;Src.Alpha&nbsp;*&nbsp;Alpha&nbsp;/&nbsp;255)&nbsp;*&nbsp;Dst&nbsp;)&nbsp;/&nbsp;255;<br />其中：<br />Dst表示最终颜色，也可以认为是背景颜色<br />Src表示初始颜色，也可以理解为前景颜色<br />Src.Alpha表示源色中的Alpha值<br />Alpha表示对源色进行Alpha处理后再与背景色混合<br />颜色遵循32位AARRGGBB格式<br /><br />Tmp.Red = Src.Red * SourceConstantAlpha / 255;<div>Tmp.Green = Src.Green * SourceConstantAlpha / 255;<br />Tmp.Blue = Src.Blue * SourceConstantAlpha / 255;<br />Tmp.Alpha = Src.Alpha * SourceConstantAlpha / 255;<br />Beta = 256 &#8211; Tmp.alpha;<br />Dst.Red = Tmp.Red + Round((Beta * Dst.Red )/255);<br />Dst.Green = Tmp.Green + Round((Beta * Dst.Green)/255);<br />Dst.Blue = Tmp.Blue + Round((Beta * Dst.Blue )/255);<br />Dst.Alpha = Tmp.Alpha + Round((Beta * Dst.Alpha)/255);</div><img src ="http://www.cppblog.com/bukebushuo/aggbug/203452.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/bukebushuo/" target="_blank">bukebushuo</a> 2013-09-27 10:53 <a href="http://www.cppblog.com/bukebushuo/archive/2013/09/27/203452.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>