Exemple #1
0
 public static void FlashWindow(Window window)
 {
     if (window != null)
     {
         var fi = new FLASHINFO();
         fi.cbSize  = Marshal.SizeOf(typeof(FLASHINFO));
         fi.hWnd    = new WindowInteropHelper(window).Handle;
         fi.dwFlags = 0x2 | 0xc;
         FlashWindowEx(ref fi);
     }
 }
Exemple #2
0
 private static extern void FlashWindowEx(ref FLASHINFO pfwi);
Exemple #3
0
 public static void FlashWindow(Window window)
 {
     if (window != null)
     {
         var fi = new FLASHINFO();
         fi.cbSize = Marshal.SizeOf(typeof(FLASHINFO));
         fi.hWnd = new WindowInteropHelper(window).Handle;
         fi.dwFlags = 0x2 | 0xc;
         FlashWindowEx(ref fi);
     }
 }
Exemple #4
0
 private static extern void FlashWindowEx(ref FLASHINFO pfwi);