Winform在系统工具栏高亮显示

    #region 引用文件作用于在任务栏高亮显示
    [System.Runtime.InteropServices.DllImport("user32.dll")]
    public static extern bool FlashWindow(System.IntPtr hWnd, bool bInvert);
    #endregion
    #region 调用
    FlashWindow(Form1, true);
    #endregion

就如聊天窗口在系统工具栏提醒业务一样,窗口在工具栏高亮显示  

以此作为备忘

posted @ 2015-07-19 18:17  浩洁  阅读(468)  评论(0编辑  收藏  举报