Example #1
0
        public static void FlashWindow(IntPtr handle, FlashWinInfoFlags flags, uint count, int timeout)
        {
            var flash = new FlashWinInfo
            {
                Size    = (uint)Marshal.SizeOf <FlashWinInfo>(),
                Hwnd    = handle,
                Flags   = flags,
                Count   = count,
                Timeout = timeout
            };

            FlashWindowEx(ref flash);
        }
Example #2
0
 public static extern bool FlashWindowEx(ref FlashWinInfo info);