using System.Runtime.InteropServices;
……
[DllImport("user32.dll")]
public static extern bool FlashWindow(
IntPtr hWnd, // handle to window
bool bInvert // flash status
);
……
IntPtr handle=this.Handle;
FlashWindow(handle,true);
……
[DllImport("user32.dll")]
public static extern bool FlashWindow(
IntPtr hWnd, // handle to window
bool bInvert // flash status
);
……
IntPtr handle=this.Handle;
FlashWindow(handle,true);
http://www.ccw.com.cn/htm/app/aprog/01_9_14_4.asp
用API在论坛中搜索,也能找到很多,大约有100多个。