namespace Microsoft.Win32 { //AW定义 public static partial class NativeMethods { /// /// Animates the window from left to right. This flag can be used with roll or slide animation. It is ignored when used with AW_CENTER or AW_BLEND. /// public const int AW_HOR_POSITIVE = 0x00000001; /// /// Animates the window from right to left. This flag can be used with roll or slide animation. It is ignored when used with AW_CENTER or AW_BLEND. /// public const int AW_HOR_NEGATIVE = 0x00000002; /// /// Animates the window from top to bottom. This flag can be used with roll or slide animation. It is ignored when used with AW_CENTER or AW_BLEND. /// public const int AW_VER_POSITIVE = 0x00000004; /// /// Animates the window from bottom to top. This flag can be use /// public const int AW_VER_NEGATIVE = 0x00000008; /// /// Makes the window appear to collapse inward if AW_HIDE is used or expand outward if the AW_HIDE is not used. The various direction flags have no effect. /// public const int AW_CENTER = 0x00000010; /// /// Hides the window. By default, the window is shown. /// public const int AW_HIDE = 0x00010000; /// /// Activates the window. Do not use this value with AW_HIDE. /// public const int AW_ACTIVATE = 0x00020000; /// /// Uses slide animation. By default, roll animation is used. This flag is ignored when used with AW_CENTER. /// public const int AW_SLIDE = 0x00040000; /// /// Uses a fade effect. This flag can be used only if hwnd is a top-level window. /// public const int AW_BLEND = 0x00080000; } }