namespace Microsoft.Win32 { //FLASHW定义 public static partial class NativeMethods { /// /// Stop flashing. The system restores the window to its original state. /// public const int FLASHW_STOP = 0x00000000; /// /// Flash the window caption. /// public const int FLASHW_CAPTION = 0x00000001; /// /// Flash the taskbar button. /// public const int FLASHW_TRAY = 0x00000002; /// /// Flash both the window caption and taskbar button. This is equivalent to setting the FLASHW_CAPTION | FLASHW_TRAY flags. /// public const int FLASHW_ALL = 0x00000003; /// /// Flash continuously, until the FLASHW_STOP flag is set. /// public const int FLASHW_TIMER = 0x00000004; /// /// Flash continuously until the window comes to the foreground. /// public const int FLASHW_TIMERNOFG = 0x0000000C; } }