Exemple #1
0
        private static FLASHWINDOWINFO CreateFlashWindowInfo(WindowArgument window, Commands command)
        {
            FLASHWINDOWINFO info = new FLASHWINDOWINFO();

            info.cbSize = Convert.ToUInt32(Marshal.SizeOf(info));
            info.hwnd = window.Handle;
            info.dwFlags = (UInt32)command;
            info.uCount = command == Commands.FlashUntilExplicitlyStopped ? UInt32.MaxValue : 5;
            info.dwTimeout = 0;

            return info;
        }
Exemple #2
0
 private static extern bool FlashWindowEx(ref FLASHWINDOWINFO pwfi);