C#实现窗口任务栏闪烁代码如下

来源:互联网 发布:java 获取对象属性名 编辑:程序博客网 时间:2024/05/18 00:31

引自:http://www.csharpwin.com/csharpspace/9129r2514.shtml

 

using System.Runtime.InteropServices;
--------------------------
[DllImport("user32.dll")]
public static extern bool FlashWindow(
IntPtr hWnd, // handle to window
bool bInvert // flash status
);
----------------------------------
FlashWindow(handle,true);//闪烁

原创粉丝点击