1. 首页
  2. 移动开发
  3. Flash
  4. 闪烁应用程序窗体,不用timer控件,C#源代码[DllImport("User32")] public static extern bool FlashWin

闪烁应用程序窗体,不用timer控件,C#源代码[DllImport("User32")] public static extern bool FlashWin

上传者: 2018-12-21 12:55:34上传 RAR文件 35KB 热度 23次
闪烁应用程序窗体,不用timer控件,C#源代码[DllImport("User32")] public static extern bool FlashWindow(IntPtr hWnd, bool bInvert); try { int MyTimes = 50; int MyTime = 50; for (int MyCount = 0; MyCount < MyTimes; MyCount++) { FlashWindow(this.Handle, true); System.Threading.Thread.Sleep(MyTime); } } catch (Exception MyEx) { System.Windows.Forms.MessageBo x.Show(MyEx.Message, "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Information); } VisualStudio2008创建
下载地址
用户评论
码姐姐匿名网友 2018-12-21 12:55:34

动态链接库不是很熟悉,学习啦!!

码姐姐匿名网友 2018-12-21 12:55:34

还行? 我想在网页下实现扣扣信息查看时的那种高亮效果

码姐姐匿名网友 2018-12-21 12:55:34

不是很好用啊,没有自己想要的效果

ゼ强 2025-01-05 21:08:33

还行? 我想在网页下实现扣扣信息查看时的那种高亮效果