STATE_SYSTEM.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. namespace Microsoft.Win32
  2. {
  3. //STATE_SYSTEM定义
  4. public static partial class NativeMethods
  5. {
  6. /// <summary>
  7. /// 0
  8. /// </summary>
  9. public const int STATE_SYSTEM_NONE = 0x00000000;
  10. /// <summary>
  11. /// Disabled
  12. /// </summary>
  13. public const int STATE_SYSTEM_UNAVAILABLE = 0x00000001;
  14. /// <summary>
  15. ///
  16. /// </summary>
  17. public const int STATE_SYSTEM_SELECTED = 0x00000002;
  18. /// <summary>
  19. ///
  20. /// </summary>
  21. public const int STATE_SYSTEM_FOCUSED = 0x00000004;
  22. /// <summary>
  23. ///
  24. /// </summary>
  25. public const int STATE_SYSTEM_PRESSED = 0x00000008;
  26. /// <summary>
  27. ///
  28. /// </summary>
  29. public const int STATE_SYSTEM_CHECKED = 0x00000010;
  30. /// <summary>
  31. /// 3-state checkbox or toolbar button
  32. /// </summary>
  33. public const int STATE_SYSTEM_MIXED = 0x00000020;
  34. /// <summary>
  35. ///
  36. /// </summary>
  37. public const int STATE_SYSTEM_INDETERMINATE = STATE_SYSTEM_MIXED;
  38. /// <summary>
  39. ///
  40. /// </summary>
  41. public const int STATE_SYSTEM_READONLY = 0x00000040;
  42. /// <summary>
  43. ///
  44. /// </summary>
  45. public const int STATE_SYSTEM_HOTTRACKED = 0x00000080;
  46. /// <summary>
  47. ///
  48. /// </summary>
  49. public const int STATE_SYSTEM_DEFAULT = 0x00000100;
  50. /// <summary>
  51. ///
  52. /// </summary>
  53. public const int STATE_SYSTEM_EXPANDED = 0x00000200;
  54. /// <summary>
  55. ///
  56. /// </summary>
  57. public const int STATE_SYSTEM_COLLAPSED = 0x00000400;
  58. /// <summary>
  59. ///
  60. /// </summary>
  61. public const int STATE_SYSTEM_BUSY = 0x00000800;
  62. /// <summary>
  63. /// Children "owned" not "contained" by parent
  64. /// </summary>
  65. public const int STATE_SYSTEM_FLOATING = 0x00001000;
  66. /// <summary>
  67. ///
  68. /// </summary>
  69. public const int STATE_SYSTEM_MARQUEED = 0x00002000;
  70. /// <summary>
  71. ///
  72. /// </summary>
  73. public const int STATE_SYSTEM_ANIMATED = 0x00004000;
  74. /// <summary>
  75. ///
  76. /// </summary>
  77. public const int STATE_SYSTEM_INVISIBLE = 0x00008000;
  78. /// <summary>
  79. ///
  80. /// </summary>
  81. public const int STATE_SYSTEM_OFFSCREEN = 0x00010000;
  82. /// <summary>
  83. ///
  84. /// </summary>
  85. public const int STATE_SYSTEM_SIZEABLE = 0x00020000;
  86. /// <summary>
  87. ///
  88. /// </summary>
  89. public const int STATE_SYSTEM_MOVEABLE = 0x00040000;
  90. /// <summary>
  91. ///
  92. /// </summary>
  93. public const int STATE_SYSTEM_SELFVOICING = 0x00080000;
  94. /// <summary>
  95. ///
  96. /// </summary>
  97. public const int STATE_SYSTEM_FOCUSABLE = 0x00100000;
  98. /// <summary>
  99. ///
  100. /// </summary>
  101. public const int STATE_SYSTEM_SELECTABLE = 0x00200000;
  102. /// <summary>
  103. ///
  104. /// </summary>
  105. public const int STATE_SYSTEM_LINKED = 0x00400000;
  106. /// <summary>
  107. ///
  108. /// </summary>
  109. public const int STATE_SYSTEM_TRAVERSED = 0x00800000;
  110. /// <summary>
  111. /// Supports multiple selection
  112. /// </summary>
  113. public const int STATE_SYSTEM_MULTISELECTABLE = 0x01000000;
  114. /// <summary>
  115. /// Supports extended selection
  116. /// </summary>
  117. public const int STATE_SYSTEM_EXTSELECTABLE = 0x02000000;
  118. /// <summary>
  119. /// This information is of low priority
  120. /// </summary>
  121. public const int STATE_SYSTEM_ALERT_LOW = 0x04000000;
  122. /// <summary>
  123. /// This information is of medium priority
  124. /// </summary>
  125. public const int STATE_SYSTEM_ALERT_MEDIUM = 0x08000000;
  126. /// <summary>
  127. /// This information is of high priority
  128. /// </summary>
  129. public const int STATE_SYSTEM_ALERT_HIGH = 0x10000000;
  130. /// <summary>
  131. /// access to this is restricted
  132. /// </summary>
  133. public const int STATE_SYSTEM_PROTECTED = 0x20000000;
  134. /// <summary>
  135. ///
  136. /// </summary>
  137. public const int STATE_SYSTEM_VALID = 0x3FFFFFFF;
  138. }
  139. }