AW.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. namespace Microsoft.Win32
  2. {
  3. //AW定义
  4. public static partial class NativeMethods
  5. {
  6. /// <summary>
  7. /// 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.
  8. /// </summary>
  9. public const int AW_HOR_POSITIVE = 0x00000001;
  10. /// <summary>
  11. /// 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.
  12. /// </summary>
  13. public const int AW_HOR_NEGATIVE = 0x00000002;
  14. /// <summary>
  15. /// 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.
  16. /// </summary>
  17. public const int AW_VER_POSITIVE = 0x00000004;
  18. /// <summary>
  19. /// Animates the window from bottom to top. This flag can be use
  20. /// </summary>
  21. public const int AW_VER_NEGATIVE = 0x00000008;
  22. /// <summary>
  23. /// 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.
  24. /// </summary>
  25. public const int AW_CENTER = 0x00000010;
  26. /// <summary>
  27. /// Hides the window. By default, the window is shown.
  28. /// </summary>
  29. public const int AW_HIDE = 0x00010000;
  30. /// <summary>
  31. /// Activates the window. Do not use this value with AW_HIDE.
  32. /// </summary>
  33. public const int AW_ACTIVATE = 0x00020000;
  34. /// <summary>
  35. /// Uses slide animation. By default, roll animation is used. This flag is ignored when used with AW_CENTER.
  36. /// </summary>
  37. public const int AW_SLIDE = 0x00040000;
  38. /// <summary>
  39. /// Uses a fade effect. This flag can be used only if hwnd is a top-level window.
  40. /// </summary>
  41. public const int AW_BLEND = 0x00080000;
  42. }
  43. }