通过API实现C#任务栏光标闪烁

来源:互联网 发布:单片机串口调试助手 编辑:程序博客网 时间:2024/06/15 09:19
using System.Runtime.InteropServices;
--------------------------  
[DllImport("user32.dll")]
  public static extern bool FlashWindow(
   IntPtr hWnd,     // handle to window
   bool bInvert   // flash status
   );
----------------------------------   
FlashWindow(handle,true);//闪烁