Beispiel #1
0
        public static void FlashWindow(IntPtr hwnd)
        {
            FLASHWINFO fw = new FLASHWINFO();
            fw.cbSize = Convert.ToUInt32(Marshal.SizeOf(typeof(FLASHWINFO)));
            fw.hwnd = hwnd;
            fw.dwFlags = (Int32)(FLASHWINFOFLAGS.FLASHW_ALL | FLASHWINFOFLAGS.FLASHW_TIMERNOFG);
            fw.dwTimeout = 0;

            FlashWindowEx(ref fw);
        }
Beispiel #2
0
 public static extern int FlashWindowEx(ref FLASHWINFO pfwi);