HeaderConstants.au3 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. #include-once
  2. ; #INDEX# =======================================================================================================================
  3. ; Title .........: Header_Constants
  4. ; AutoIt Version : 3.3.14.5
  5. ; Language ......: English
  6. ; Description ...: Constants for Header functions.
  7. ; Author(s) .....: Valik, Gary Frost
  8. ; ===============================================================================================================================
  9. ; #CONSTANTS# ===================================================================================================================
  10. Global Const $HDF_LEFT = 0x00000000
  11. Global Const $HDF_RIGHT = 0x00000001
  12. Global Const $HDF_CENTER = 0x00000002
  13. Global Const $HDF_JUSTIFYMASK = 0x00000003
  14. Global Const $HDF_BITMAP_ON_RIGHT = 0x00001000
  15. Global Const $HDF_BITMAP = 0x00002000
  16. Global Const $HDF_STRING = 0x00004000
  17. Global Const $HDF_OWNERDRAW = 0x00008000
  18. Global Const $HDF_DISPLAYMASK = 0x0000F000
  19. Global Const $HDF_RTLREADING = 0x00000004
  20. Global Const $HDF_SORTDOWN = 0x00000200
  21. Global Const $HDF_IMAGE = 0x00000800
  22. Global Const $HDF_SORTUP = 0x00000400
  23. Global Const $HDF_FLAGMASK = 0x00000E04
  24. Global Const $HDI_WIDTH = 0x00000001
  25. Global Const $HDI_TEXT = 0x00000002
  26. Global Const $HDI_FORMAT = 0x00000004
  27. Global Const $HDI_PARAM = 0x00000008
  28. Global Const $HDI_BITMAP = 0x00000010
  29. Global Const $HDI_IMAGE = 0x00000020
  30. Global Const $HDI_DI_SETITEM = 0x00000040
  31. Global Const $HDI_ORDER = 0x00000080
  32. Global Const $HDI_FILTER = 0x00000100
  33. Global Const $HHT_NOWHERE = 0x00000001
  34. Global Const $HHT_ONHEADER = 0x00000002
  35. Global Const $HHT_ONDIVIDER = 0x00000004
  36. Global Const $HHT_ONDIVOPEN = 0x00000008
  37. Global Const $HHT_ONFILTER = 0x00000010
  38. Global Const $HHT_ONFILTERBUTTON = 0x00000020
  39. Global Const $HHT_ABOVE = 0x00000100
  40. Global Const $HHT_BELOW = 0x00000200
  41. Global Const $HHT_TORIGHT = 0x00000400
  42. Global Const $HHT_TOLEFT = 0x00000800
  43. ; Messages
  44. Global Const $HDM_FIRST = 0x1200
  45. Global Const $HDM_CLEARFILTER = $HDM_FIRST + 24
  46. Global Const $HDM_CREATEDRAGIMAGE = $HDM_FIRST + 16
  47. Global Const $HDM_DELETEITEM = $HDM_FIRST + 2
  48. Global Const $HDM_EDITFILTER = $HDM_FIRST + 23
  49. Global Const $HDM_GETBITMAPMARGIN = $HDM_FIRST + 21
  50. Global Const $HDM_GETFOCUSEDITEM = $HDM_FIRST + 27
  51. Global Const $HDM_GETIMAGELIST = $HDM_FIRST + 9
  52. Global Const $HDM_GETITEMA = $HDM_FIRST + 3
  53. Global Const $HDM_GETITEMW = $HDM_FIRST + 11
  54. Global Const $HDM_GETITEMCOUNT = $HDM_FIRST + 0
  55. Global Const $HDM_GETITEMDROPDOWNRECT = $HDM_FIRST + 25
  56. Global Const $HDM_GETITEMRECT = $HDM_FIRST + 7
  57. Global Const $HDM_GETORDERARRAY = $HDM_FIRST + 17
  58. Global Const $HDM_GETOVERFLOWRECT = $HDM_FIRST + 26
  59. Global Const $HDM_GETUNICODEFORMAT = 0x2000 + 6
  60. Global Const $HDM_HITTEST = $HDM_FIRST + 6
  61. Global Const $HDM_INSERTITEMA = $HDM_FIRST + 1
  62. Global Const $HDM_INSERTITEMW = $HDM_FIRST + 10
  63. Global Const $HDM_LAYOUT = $HDM_FIRST + 5
  64. Global Const $HDM_ORDERTOINDEX = $HDM_FIRST + 15
  65. Global Const $HDM_SETBITMAPMARGIN = $HDM_FIRST + 20
  66. Global Const $HDM_SETFILTERCHANGETIMEOUT = $HDM_FIRST + 22
  67. Global Const $HDM_SETFOCUSEDITEM = $HDM_FIRST + 28
  68. Global Const $HDM_SETHOTDIVIDER = $HDM_FIRST + 19
  69. Global Const $HDM_SETIMAGELIST = $HDM_FIRST + 8
  70. Global Const $HDM_SETITEMA = $HDM_FIRST + 4
  71. Global Const $HDM_SETITEMW = $HDM_FIRST + 12
  72. Global Const $HDM_SETORDERARRAY = $HDM_FIRST + 18
  73. Global Const $HDM_SETUNICODEFORMAT = 0x2000 + 5
  74. ; Notifications
  75. Global Const $HDN_FIRST = -300
  76. Global Const $HDN_BEGINDRAG = $HDN_FIRST - 10 ; Sent when a drag operation has begun
  77. Global Const $HDN_BEGINTRACK = $HDN_FIRST - 6 ; Sent when the user has begun dragging a divider
  78. Global Const $HDN_DIVIDERDBLCLICK = $HDN_FIRST - 5 ; Sent when the user double clicks the divider
  79. Global Const $HDN_ENDDRAG = $HDN_FIRST - 11 ; Sent when a drag operation has ended
  80. Global Const $HDN_ENDTRACK = $HDN_FIRST - 7 ; Sent when the user has finished dragging a divider
  81. Global Const $HDN_FILTERBTNCLICK = $HDN_FIRST - 13 ; Sent when filter button is clicked
  82. Global Const $HDN_FILTERCHANGE = $HDN_FIRST - 12 ; Sent when the attributes of a header control filter are being changed
  83. Global Const $HDN_GETDISPINFO = $HDN_FIRST - 9 ; Sent when the control needs information about a callback
  84. Global Const $HDN_ITEMCHANGED = $HDN_FIRST - 1 ; Sent when a header item has changed
  85. Global Const $HDN_ITEMCHANGING = $HDN_FIRST - 0 ; Sent when a header item is about to change
  86. Global Const $HDN_ITEMCLICK = $HDN_FIRST - 2 ; Sent when the user clicks the control
  87. Global Const $HDN_ITEMDBLCLICK = $HDN_FIRST - 3 ; Sent when the user double clicks the control
  88. Global Const $HDN_TRACK = $HDN_FIRST - 8 ; Sent when the user is dragging a divider
  89. Global Const $HDN_BEGINTRACKW = $HDN_FIRST - 26 ; [Unicode] Sent when the user has begun dragging a divider
  90. Global Const $HDN_DIVIDERDBLCLICKW = $HDN_FIRST - 25 ; [Unicode] Sent when the user double clicks the divider
  91. Global Const $HDN_ENDTRACKW = $HDN_FIRST - 27 ; [Unicode] Sent when the user has finished dragging a divider
  92. Global Const $HDN_GETDISPINFOW = $HDN_FIRST - 29 ; [Unicode] Sent when the control needs information about a callback
  93. Global Const $HDN_ITEMCHANGEDW = $HDN_FIRST - 21 ; [Unicode] Sent when a header item has changed
  94. Global Const $HDN_ITEMCHANGINGW = $HDN_FIRST - 20 ; [Unicode] Sent when a header item is about to change
  95. Global Const $HDN_ITEMCLICKW = $HDN_FIRST - 22 ; [Unicode] Sent when the user clicks the control
  96. Global Const $HDN_ITEMDBLCLICKW = $HDN_FIRST - 23 ; [Unicode] Sent when the user double clicks the control
  97. Global Const $HDN_TRACKW = $HDN_FIRST - 28 ; [Unicode] Sent when the user is dragging a divider
  98. ; Styles
  99. Global Const $HDS_BUTTONS = 0x00000002 ; Each item in the control looks and behaves like a push button
  100. Global Const $HDS_CHECKBOXES = 0x00000400 ; Allows the placing of checkboxes on header items on Vista
  101. Global Const $HDS_DRAGDROP = 0x00000040 ; Allows drag-and-drop reordering of header items
  102. Global Const $HDS_FILTERBAR = 0x00000100 ; Include a filter bar as part of the standard header control
  103. Global Const $HDS_FLAT = 0x00000200 ; Control is drawn flat when XP is running in classic mode
  104. Global Const $HDS_FULLDRAG = 0x00000080 ; Column contents are displayed while the user resizes a column
  105. Global Const $HDS_HIDDEN = 0x00000008 ; Indicates a header control that is intended to be hidden
  106. Global Const $HDS_HORZ = 0x00000000 ; Creates a header control with a horizontal orientation
  107. Global Const $HDS_HOTTRACK = 0x00000004 ; Enables hot tracking
  108. Global Const $HDS_NOSIZING = 0x0800 ; The user cannot drag the divider on the header control on Vista
  109. Global Const $HDS_OVERFLOW = 0x1000 ; A button is displayed when not all items can be displayed within the header control's rectangle on Vista
  110. Global Const $HDS_DEFAULT = 0x00000046 ; Default header style $HDS_DRAGDROP + $HDS_HOTTRACK + $HDS_BUTTONS
  111. ; ===============================================================================================================================