private void Flash()
        {
            FLASHWINFO fw = new FLASHWINFO();

            fw.cbSize = Convert.ToUInt32(Marshal.SizeOf(typeof(FLASHWINFO)));
            fw.hwnd = this.Handle;
            fw.dwFlags = (int)FlashWindowExFlags.FLASHW_TRAY;
            fw.uCount = UInt32.MaxValue;

            Methods.FlashWindowEx(ref fw);
        }
Exemplo n.º 2
0
 public static extern Int32 FlashWindowEx(ref FLASHWINFO pwfi);
Exemplo n.º 3
0
 public static extern Int32 FlashWindowEx(ref FLASHWINFO pwfi);