// Do the flashing - this does not involve a raincoat. public static bool FlashWindowEx(Form form) { IntPtr hWnd = form.Handle; pvhelper.FLASHWINFO fInfo = new pvhelper.FLASHWINFO(); fInfo.cbSize = Convert.ToUInt32(Marshal.SizeOf(fInfo)); fInfo.hwnd = hWnd; fInfo.dwFlags = FLASHW_ALL | FLASHW_TIMERNOFG; fInfo.uCount = UInt32.MaxValue; fInfo.dwTimeout = 0; return(FlashWindowEx(ref fInfo)); }
static extern bool FlashWindowEx(ref pvhelper.FLASHWINFO pwfi);