如何在任务栏上闪烁? 如何使 .net form 窗体在任务栏上闪显? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 2楼的是正解,使用Win32 API:FlashWindow[DllImport("user32.dll")]static extern bool FlashWindow(IntPtr hwnd, bool bInvert);public class Form1 : System.Windows.Forms.Form{private void Form1_Load(object sender, System.EventArgs e){ FlashWindow( this.Handle , false );}} [DllImport("user32.dll")] public static extern bool FlashWindow(IntPtr hwnd, bool bInvert); vs2010 找不到文件 关于接口的一些疑问 各位大侠帮帮忙啊,字符串拆分 RichTextBox如何变色? 请问如何在程序中动态调用DLL? 求c#读取XML文件一个节点的方法 .net新手,请教如何在点击按钮的时候,让页面保持不动(不前进)。 请高手将VB6中的代码转为C#,谢谢了! C#操作word创建表格求助 winform屏蔽系统热键及阻止其他程序运行 C#实现类似百度,GOOGLE一样的模糊查询怎么实现 新手跪求 标准表达式中数据类型不匹配
static extern bool FlashWindow(IntPtr hwnd, bool bInvert);
public class Form1 : System.Windows.Forms.Form
{
private void Form1_Load(object sender, System.EventArgs e)
{
FlashWindow( this.Handle , false );
}
}
public static extern bool FlashWindow(IntPtr hwnd, bool bInvert);