Пример #1
0
 private static extern short FlashWindowEx(ref FLASHWINFO pwfi);
Пример #2
0
 public bool FlashWindow()
 {
     FLASHWINFO structure = new FLASHWINFO();
     structure.cbSize = (ushort) Marshal.SizeOf(structure);
     structure.hwnd = base.Handle;
     structure.dwFlags = 6;
     structure.uCount = 0xffff;
     structure.dwTimeout = 0;
     return (FlashWindowEx(ref structure) == 0);
 }