摘要: 这个功能和腾讯的QQ聊天工具在聊天的时候当有新的消息来的时候是一样的,在任务栏上闪烁。工作的原理很简单,就是用到timer控件调用API函数就可以了。 #region "声明API函数" [DllImport("user32", EntryPoint = "FlashWindow")] public static extern void FlashWindow(int hwnd, bool bInvert); #endregiontimer的Tick事件调用声明的API函数 #region "时间的Tick事件" 阅读全文
posted @ 2011-06-10 16:27 亿典通柄棋 阅读(743) 评论(4) 推荐(0) 编辑