`

调用winapi中的FlashWindow

    博客分类:
  • C#
阅读更多
1.引用
using System.Runtime.InteropServices;
2.在类在申明
[DllImport("user32.dll")]
		public static extern bool FlashWindow(
			IntPtr hWnd,     // handle to window
			bool bInvert   // flash status
			);
3.使用
IntPtr handle=this.Handle;
FlashWindow(handle,true);
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics