﻿<?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>博客园-只要开始，永远不晚；只要前进，总有空间 - 草上爬的博客-最新评论</title><link>http://www.cnblogs.com/Risen/CommentsRSS.aspx</link><description>.Net 编程技术学习与分享 http://www.Rithia.net</description><language>zh-cn</language><pubDate>Thu, 15 May 2008 13:05:29 GMT</pubDate><lastBuildDate>Thu, 15 May 2008 13:05:29 GMT</lastBuildDate><generator>cnblogs</generator><item><title>Re:利用 C# 实现任务栏通知窗口</title><link>http://www.cnblogs.com/Risen/archive/2010/06/01/1039751.html#1837667</link><dc:creator>cn_大斌哥</dc:creator><author>cn_大斌哥</author><pubDate>Tue, 01 Jun 2010 05:52:33 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2010/06/01/1039751.html#1837667</guid><description><![CDATA[收了！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">cn_大斌哥</a> 2010-06-01 13:52 <a href="http://www.cnblogs.com/Risen/archive/2010/06/01/1039751.html#1837667#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:利用 C# 实现任务栏通知窗口</title><link>http://www.cnblogs.com/Risen/archive/2009/12/15/1039751.html#1724927</link><dc:creator>ddddddd</dc:creator><author>ddddddd</author><pubDate>Tue, 15 Dec 2009 09:47:48 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2009/12/15/1039751.html#1724927</guid><description><![CDATA[NB<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">ddddddd</a> 2009-12-15 17:47 <a href="http://www.cnblogs.com/Risen/archive/2009/12/15/1039751.html#1724927#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 为人处事的36字箴言，读懂一个字诀，受用一生！[转贴]</title><link>http://www.cnblogs.com/Risen/archive/2009/06/21/1067523.html#1564424</link><dc:creator>gg</dc:creator><author>gg</author><pubDate>Sun, 21 Jun 2009 13:04:00 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2009/06/21/1067523.html#1564424</guid><description><![CDATA[真有道理.受用一生的《36字》。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">gg</a> 2009-06-21 21:04 <a href="http://www.cnblogs.com/Risen/archive/2009/06/21/1067523.html#1564424#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 中国不需要医生，尤其是当今中国 [转载]</title><link>http://www.cnblogs.com/Risen/archive/2009/06/11/940168.html#1554792</link><dc:creator>12363</dc:creator><author>12363</author><pubDate>Thu, 11 Jun 2009 09:51:34 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2009/06/11/940168.html#1554792</guid><description><![CDATA[中国不需要医生，尤其是当今中国<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">12363</a> 2009-06-11 17:51 <a href="http://www.cnblogs.com/Risen/archive/2009/06/11/940168.html#1554792#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 利用C#为数码照片添加拍照日期</title><link>http://www.cnblogs.com/Risen/archive/2009/02/04/1039733.html#1442523</link><dc:creator>fivegg</dc:creator><author>fivegg</author><pubDate>Wed, 04 Feb 2009 06:23:55 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2009/02/04/1039733.html#1442523</guid><description><![CDATA[根据EXIF描述应该是36867，0x0132是File change date and time，是指文件修改时间。36867（0x9003) DateTimeOriginal ，Date and time of original data generation，是指照片拍摄时间。还有一个0x9004 DateTimeDigitized,Date and time of digital data generation,是指被拍摄保存时间。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">fivegg</a> 2009-02-04 14:23 <a href="http://www.cnblogs.com/Risen/archive/2009/02/04/1039733.html#1442523#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 利用 C# 实现任务栏通知窗口</title><link>http://www.cnblogs.com/Risen/archive/2008/12/14/1039751.html#1401801</link><dc:creator>Fooo</dc:creator><author>Fooo</author><pubDate>Sun, 14 Dec 2008 11:58:16 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2008/12/14/1039751.html#1401801</guid><description><![CDATA[ sf = new dShowForm1(ShowForm1);<br/>            Thread threads = new Thread(WinPop);<br/>            threads.Priority = ThreadPriority.Highest;<br/>            threads.IsBackground = true;<br/>            threads.Start();<br/>           <br/><br/>        /// 弹出式消息通知窗口<br/>        private void WinPop()<br/>        {<br/><br/>            ////其他Thread里： <br/>            dShowForm1 sf = new dShowForm1(ShowForm1);<br/>            this.BeginInvoke(sf);<br/>                       <br/>        }<br/><br/> delegate void dShowForm1();<br/>           dShowForm1 sf; <br/>            void ShowForm1()<br/>            {<br/>                             <br/><br/>               string title = &quot;&quot;;<br/>                string content =  &quot;:&quot; + DateTime.Now + &quot;\r\n当前{&quot; + 544578+ &quot;}&quot; + &quot;\r\n请注意及时查看！&quot;;<br/>                TaskbarNotifier taskbarNotifier = new TaskbarNotifier();<br/>                System.Drawing.Image imgBack = (Image)Properties.Resources.skin55;//从资源文件里得到背景图<br/>                taskbarNotifier.SetBackgroundBitmap(imgBack, Color.FromArgb(255, 0, 255));//设置背景图<br/>                System.Drawing.Image imgClose = (Image)Properties.Resources.close;//从资源文件里得到关闭按钮图片<br/>                taskbarNotifier.SetCloseBitmap(imgClose, Color.FromArgb(255, 0, 255), new Point(157, 8));//设置关闭按钮<br/>                taskbarNotifier.TitleRectangle = new Rectangle(40, 9, 70, 25);//标题位置<br/>                taskbarNotifier.ContentRectangle = new Rectangle(12,50, 150, 80);//文本位置            <br/>                taskbarNotifier.ContentClick += new EventHandler(ContentClick);<br/>                taskbarNotifier.Show(title, content, 500, 4000, 500);//显示<br/>            }<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">Fooo</a> 2008-12-14 19:58 <a href="http://www.cnblogs.com/Risen/archive/2008/12/14/1039751.html#1401801#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 利用 C# 实现任务栏通知窗口</title><link>http://www.cnblogs.com/Risen/archive/2008/12/14/1039751.html#1401796</link><dc:creator>Fooo</dc:creator><author>Fooo</author><pubDate>Sun, 14 Dec 2008 11:52:05 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2008/12/14/1039751.html#1401796</guid><description><![CDATA[<br/>楼主GG,如果项目中需要在线程中调用消息通知窗口,<br/>需要用委托来打开,但这样主窗口却失去了焦点,怎么解决???<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">Fooo</a> 2008-12-14 19:52 <a href="http://www.cnblogs.com/Risen/archive/2008/12/14/1039751.html#1401796#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 利用 C# 实现任务栏通知窗口</title><link>http://www.cnblogs.com/Risen/archive/2008/12/11/1039751.html#1398648</link><dc:creator>huye0919</dc:creator><author>huye0919</author><pubDate>Thu, 11 Dec 2008 08:28:12 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2008/12/11/1039751.html#1398648</guid><description><![CDATA[你好，我详细地学习了你的程序。其余都能理解，不过还是有一个小疑问。在ShowForm函数中的这条语句：this.Top = WorkAreaRectangle.Height + this.Height;是什么意思？为什么要加一个this.Height？还有在第一次单击ShowTaskbarForm时主窗口是会失去焦点的，不过再点击就不会了。不知道楼主发现这个问题没有。
另外感谢楼主提供这么好的代码！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">huye0919</a> 2008-12-11 16:28 <a href="http://www.cnblogs.com/Risen/archive/2008/12/11/1039751.html#1398648#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 利用 C# 实现任务栏通知窗口</title><link>http://www.cnblogs.com/Risen/archive/2008/06/02/1039751.html#1216307</link><dc:creator>Risen</dc:creator><author>Risen</author><pubDate>Mon, 02 Jun 2008 13:23:31 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2008/06/02/1039751.html#1216307</guid><description><![CDATA[--引用--------------------------------------------------<br>hlmingming: 这几句不知道是什么意思,也不知道怎么弄,楼主可以赐教下吗<br><br>//发送消息//winuser.h 中有函数原型定义<br>[DllImportAttribute(&amp;quot;user32.dll&amp;quot;)]<br>public static extern bool ReleaseCapture(); //释放鼠标捕捉winuser.h<br>[DllImportAttribute(&amp;quot;user32.dll&amp;quot;)] //winuser.h<br>private static extern Boolean ShowWindow(IntPtr hWnd, Int32 nCmdShow);<br>--------------------------------------------------------<br>目的是利用P/Invoke进行win32api调用来释放鼠标捕捉，重定向鼠标单击的事件，使消息过程以为鼠标单击在了标题栏上，这样可以实现鼠标拖动窗体的效果，这种方法主要在早期win32api和mfc平台下使用比较常见，其实在.net下是不应该这样写的，显得有点复古，但效率可观。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">Risen</a> 2008-06-02 21:23 <a href="http://www.cnblogs.com/Risen/archive/2008/06/02/1039751.html#1216307#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 利用 C# 实现任务栏通知窗口</title><link>http://www.cnblogs.com/Risen/archive/2008/06/02/1039751.html#1216033</link><dc:creator>hlmingming</dc:creator><author>hlmingming</author><pubDate>Mon, 02 Jun 2008 08:13:18 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2008/06/02/1039751.html#1216033</guid><description><![CDATA[这几句不知道是什么意思,也不知道怎么弄,楼主可以赐教下吗<br><br>//发送消息//winuser.h 中有函数原型定义<br>[DllImportAttribute(&quot;user32.dll&quot;)]<br>public static extern bool ReleaseCapture(); //释放鼠标捕捉winuser.h<br>[DllImportAttribute(&quot;user32.dll&quot;)] //winuser.h<br>private static extern Boolean ShowWindow(IntPtr hWnd, Int32 nCmdShow);<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">hlmingming</a> 2008-06-02 16:13 <a href="http://www.cnblogs.com/Risen/archive/2008/06/02/1039751.html#1216033#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 利用VB.Net编程实现PC与掌上电脑PPC间的双向通信</title><link>http://www.cnblogs.com/Risen/archive/2008/04/17/940198.html#1158221</link><dc:creator>zhangqian</dc:creator><author>zhangqian</author><pubDate>Thu, 17 Apr 2008 07:51:00 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2008/04/17/940198.html#1158221</guid><description><![CDATA[窦兄,我又来拜读你的文章了,哈哈!没想到你在网络通信方面也很有研究,我现在也正做这方面的东西,有时间详细向你请教一下!呵呵...<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">zhangqian</a> 2008-04-17 15:51 <a href="http://www.cnblogs.com/Risen/archive/2008/04/17/940198.html#1158221#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 中国不需要医生，尤其是当今中国 [转载]</title><link>http://www.cnblogs.com/Risen/archive/2008/04/08/940168.html#1143047</link><dc:creator>Risen</dc:creator><author>Risen</author><pubDate>Tue, 08 Apr 2008 14:25:00 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2008/04/08/940168.html#1143047</guid><description><![CDATA[医生当然要救人，我也绝不例外！<br><br>现在医患关系如此紧张，作为医生要真是骗人，患者及家属还会饶的了他？<br><br>我作为一名医生，真心希望我的工作环境安逸、和谐，但是国家医疗改革失败、老百姓看病难看病贵、新闻时不时报道个什么“沾血的红包”什么的，一系列的事实真是够白衣天使们受的，咱们的生存环境真的很恶劣啊，哈哈。。。。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">Risen</a> 2008-04-08 22:25 <a href="http://www.cnblogs.com/Risen/archive/2008/04/08/940168.html#1143047#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 中国不需要医生，尤其是当今中国 [转载]</title><link>http://www.cnblogs.com/Risen/archive/2008/04/05/940168.html#1138667</link><dc:creator>意行天下</dc:creator><author>意行天下</author><pubDate>Sat, 05 Apr 2008 14:43:00 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2008/04/05/940168.html#1138667</guid><description><![CDATA[@蓝天旭日<br>请问，你见过那位医生不是治病救人的，有那位正规的医生“指执业医师”是专门骗人的，哪些所谓的回扣绝对是领导们的事，与我们医师没有任何关系，他们上梁不正，不等于下梁就歪了。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">意行天下</a> 2008-04-05 22:43 <a href="http://www.cnblogs.com/Risen/archive/2008/04/05/940168.html#1138667#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 利用 C# 实现任务栏通知窗口</title><link>http://www.cnblogs.com/Risen/archive/2008/04/05/1039751.html#1138508</link><dc:creator>Risen</dc:creator><author>Risen</author><pubDate>Sat, 05 Apr 2008 11:53:00 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2008/04/05/1039751.html#1138508</guid><description><![CDATA[--引用--------------------------------------------------<br>大佬: 楼主你好，看了这篇文章受益匪浅。想向您讨教一个问题，关于Win32API中的PostMessage的：我现在做了程序A，需想程序B发送Alt+F的消息，现在我利用PostMessage发送消息可以成功，但是当程序B失去焦点的时候，程序B就没有动作了。我不知道是程序B在失去焦点的时候就收不到alt+f的消息了，还是PostMessage不能向失去焦点的窗体发消息？按理说，Postmessage指定了窗口句柄，应该可以向没有焦点的窗口发消息的啊？<br>--------------------------------------------------------<br>你说的是不是mfc程序？sendmessage()向windows消息循环发送消息并等待处理后才返回，而postmessage是发送消息后立即返回，postmessage不知道消息处理是否会成功，你先查看下返回值，或者尝试使用sendmessage()。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">Risen</a> 2008-04-05 19:53 <a href="http://www.cnblogs.com/Risen/archive/2008/04/05/1039751.html#1138508#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 利用 C# 实现任务栏通知窗口</title><link>http://www.cnblogs.com/Risen/archive/2008/04/01/1039751.html#1133325</link><dc:creator>大佬</dc:creator><author>大佬</author><pubDate>Tue, 01 Apr 2008 10:50:00 GMT</pubDate><guid>http://www.cnblogs.com/Risen/archive/2008/04/01/1039751.html#1133325</guid><description><![CDATA[楼主你好，看了这篇文章受益匪浅。想向您讨教一个问题，关于Win32API中的PostMessage的：我现在做了程序A，需想程序B发送Alt+F的消息，现在我利用PostMessage发送消息可以成功，但是当程序B失去焦点的时候，程序B就没有动作了。我不知道是程序B在失去焦点的时候就收不到alt+f的消息了，还是PostMessage不能向失去焦点的窗体发消息？按理说，Postmessage指定了窗口句柄，应该可以向没有焦点的窗口发消息的啊？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Risen/" target="_blank">大佬</a> 2008-04-01 18:50 <a href="http://www.cnblogs.com/Risen/archive/2008/04/01/1039751.html#1133325#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
