Winform任务栏闪烁
摘要:
[DllImport("user32.dll")] public static extern bool FlashWindow(IntPtr hWnd, bool bInvert);调用FlashWindow(this.Handle, true)// true为闪烁窗体处于活动是调用 if (Form.ActiveForm != this) { FlashWindow(this.Handle, true)// true为闪烁 }另外的线程调用时 if (Form.ActiveForm != this) { InvokeProxyMethod.ProxyMethod(this 阅读全文
posted @ 2012-02-23 15:35 sajiao 阅读(1439) 评论(0) 推荐(0) 编辑