ListViewConstants.au3 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  1. #include-once
  2. ; #INDEX# =======================================================================================================================
  3. ; Title .........: ListView_Constants
  4. ; AutoIt Version : 3.3.14.5
  5. ; Language ......: English
  6. ; Description ...: <a href="../appendix/GUIStyles.htm#ListView">GUI control ListView styles</a> and much more constants.
  7. ; Author(s) .....: Valik, Gary Frost, ...
  8. ; ===============================================================================================================================
  9. ; #CONSTANTS# ===================================================================================================================
  10. ; Group state - Vista
  11. Global Const $LVGS_NORMAL = 0x00000000
  12. Global Const $LVGS_COLLAPSED = 0x00000001
  13. Global Const $LVGS_HIDDEN = 0x00000002
  14. Global Const $LVGS_NOHEADER = 0x00000004
  15. Global Const $LVGS_COLLAPSIBLE = 0x00000008
  16. Global Const $LVGS_FOCUSED = 0x00000010
  17. Global Const $LVGS_SELECTED = 0x00000020
  18. Global Const $LVGS_SUBSETED = 0x00000040
  19. Global Const $LVGS_SUBSETLINKFOCUSED = 0x00000080
  20. ; Group Rect - Vista
  21. Global Const $LVGGR_GROUP = 0 ;// Entire expanded group
  22. Global Const $LVGGR_HEADER = 1 ; // Header only (collapsed group)
  23. Global Const $LVGGR_LABEL = 2 ; // Label only
  24. Global Const $LVGGR_SUBSETLINK = 3 ; // subset link only
  25. ; error
  26. Global Const $LV_ERR = -1
  27. Global Const $LVBKIF_SOURCE_NONE = 0x00000000
  28. Global Const $LVBKIF_SOURCE_HBITMAP = 0x00000001
  29. Global Const $LVBKIF_SOURCE_URL = 0x00000002
  30. Global Const $LVBKIF_SOURCE_MASK = 0x00000003
  31. Global Const $LVBKIF_STYLE_NORMAL = 0x00000000
  32. Global Const $LVBKIF_STYLE_TILE = 0x00000010
  33. Global Const $LVBKIF_STYLE_MASK = 0x00000010
  34. Global Const $LVBKIF_FLAG_TILEOFFSET = 0x00000100
  35. Global Const $LVBKIF_TYPE_WATERMARK = 0x10000000
  36. Global Const $LV_VIEW_DETAILS = 0x0001
  37. Global Const $LV_VIEW_ICON = 0x0000
  38. Global Const $LV_VIEW_LIST = 0x0003
  39. Global Const $LV_VIEW_SMALLICON = 0x0002
  40. Global Const $LV_VIEW_TILE = 0x0004
  41. Global Const $LVA_ALIGNLEFT = 0x0001
  42. Global Const $LVA_ALIGNTOP = 0x0002
  43. Global Const $LVA_DEFAULT = 0x0000
  44. Global Const $LVA_SNAPTOGRID = 0x0005
  45. Global Const $LVCDI_ITEM = 0x00000000
  46. Global Const $LVCDI_GROUP = 0x00000001
  47. Global Const $LVCF_ALLDATA = 0X0000003F
  48. Global Const $LVCF_FMT = 0x0001
  49. Global Const $LVCF_IMAGE = 0x0010
  50. Global Const $LVCFMT_JUSTIFYMASK = 0x0003
  51. Global Const $LVCF_TEXT = 0x0004
  52. Global Const $LVCF_WIDTH = 0x0002
  53. Global Const $LVCFMT_BITMAP_ON_RIGHT = 0x1000
  54. Global Const $LVCFMT_CENTER = 0x0002
  55. Global Const $LVCFMT_COL_HAS_IMAGES = 0x8000
  56. Global Const $LVCFMT_IMAGE = 0x0800
  57. Global Const $LVCFMT_LEFT = 0x0000
  58. Global Const $LVCFMT_RIGHT = 0x0001
  59. Global Const $LVCFMT_LINE_BREAK = 0x100000
  60. Global Const $LVCFMT_FILL = 0x200000
  61. Global Const $LVCFMT_WRAP = 0x400000
  62. Global Const $LVCFMT_NO_TITLE = 0x800000
  63. Global Const $LVCFMT_TILE_PLACEMENTMASK = BitOR($LVCFMT_LINE_BREAK, $LVCFMT_FILL)
  64. Global Const $LVFI_NEARESTXY = 0x0040
  65. Global Const $LVFI_PARAM = 0x0001
  66. Global Const $LVFI_PARTIAL = 0x0008
  67. Global Const $LVFI_STRING = 0x0002
  68. Global Const $LVFI_SUBSTRING = 0x0004
  69. Global Const $LVFI_WRAP = 0x0020
  70. Global Const $LVGA_FOOTER_LEFT = 0x00000008
  71. Global Const $LVGA_FOOTER_CENTER = 0x00000010
  72. Global Const $LVGA_FOOTER_RIGHT = 0x00000020
  73. Global Const $LVGA_HEADER_LEFT = 0x00000001
  74. Global Const $LVGA_HEADER_CENTER = 0x00000002
  75. Global Const $LVGA_HEADER_RIGHT = 0x00000004
  76. Global Const $LVGF_ALIGN = 0x00000008
  77. Global Const $LVGF_DESCRIPTIONTOP = 0x00000400
  78. Global Const $LVGF_DESCRIPTIONBOTTOM = 0x00000800
  79. Global Const $LVGF_EXTENDEDIMAGE = 0x00002000
  80. Global Const $LVGF_FOOTER = 0x00000002
  81. Global Const $LVGF_GROUPID = 0x00000010
  82. Global Const $LVGF_HEADER = 0x00000001
  83. Global Const $LVGF_ITEMS = 0x00004000
  84. Global Const $LVGF_NONE = 0x00000000
  85. Global Const $LVGF_STATE = 0x00000004
  86. Global Const $LVGF_SUBSET = 0x00008000
  87. Global Const $LVGF_SUBSETITEMS = 0x00010000
  88. Global Const $LVGF_SUBTITLE = 0x00000100
  89. Global Const $LVGF_TASK = 0x00000200
  90. Global Const $LVGF_TITLEIMAGE = 0x00001000
  91. Global Const $LVHT_ABOVE = 0x00000008
  92. Global Const $LVHT_BELOW = 0x00000010
  93. Global Const $LVHT_NOWHERE = 0x00000001
  94. Global Const $LVHT_ONITEMICON = 0x00000002
  95. Global Const $LVHT_ONITEMLABEL = 0x00000004
  96. Global Const $LVHT_ONITEMSTATEICON = 0x00000008
  97. Global Const $LVHT_TOLEFT = 0x00000040
  98. Global Const $LVHT_TORIGHT = 0x00000020
  99. Global Const $LVHT_ONITEM = BitOR($LVHT_ONITEMICON, $LVHT_ONITEMLABEL, $LVHT_ONITEMSTATEICON)
  100. Global Const $LVHT_EX_GROUP_HEADER = 0x10000000
  101. Global Const $LVHT_EX_GROUP_FOOTER = 0x20000000
  102. Global Const $LVHT_EX_GROUP_COLLAPSE = 0x40000000
  103. Global Const $LVHT_EX_GROUP_BACKGROUND = 0x80000000
  104. Global Const $LVHT_EX_GROUP_STATEICON = 0x01000000
  105. Global Const $LVHT_EX_GROUP_SUBSETLINK = 0x02000000
  106. Global Const $LVHT_EX_GROUP = BitOR($LVHT_EX_GROUP_BACKGROUND, $LVHT_EX_GROUP_COLLAPSE, $LVHT_EX_GROUP_FOOTER, $LVHT_EX_GROUP_HEADER, $LVHT_EX_GROUP_STATEICON, $LVHT_EX_GROUP_SUBSETLINK)
  107. Global Const $LVHT_EX_ONCONTENTS = 0x04000000 ; On item AND not on the background
  108. Global Const $LVHT_EX_FOOTER = 0x08000000
  109. Global Const $LVIF_COLFMT = 0x00010000
  110. Global Const $LVIF_COLUMNS = 0x00000200
  111. Global Const $LVIF_GROUPID = 0x00000100
  112. Global Const $LVIF_IMAGE = 0x00000002
  113. Global Const $LVIF_INDENT = 0x00000010
  114. Global Const $LVIF_NORECOMPUTE = 0x00000800
  115. Global Const $LVIF_PARAM = 0x00000004
  116. Global Const $LVIF_STATE = 0x00000008
  117. Global Const $LVIF_TEXT = 0x00000001
  118. Global Const $LVIM_AFTER = 0x00000001
  119. Global Const $LVIR_BOUNDS = 0
  120. Global Const $LVIR_ICON = 1
  121. Global Const $LVIR_LABEL = 2
  122. Global Const $LVIR_SELECTBOUNDS = 3
  123. Global Const $LVIS_CUT = 0x0004
  124. Global Const $LVIS_DROPHILITED = 0x0008
  125. Global Const $LVIS_FOCUSED = 0x0001
  126. Global Const $LVIS_OVERLAYMASK = 0x0F00
  127. Global Const $LVIS_SELECTED = 0x0002
  128. Global Const $LVIS_STATEIMAGEMASK = 0xF000
  129. ; Styles
  130. Global Const $LVS_ALIGNLEFT = 0x0800 ; Items are left aligned in icon and small icon view
  131. Global Const $LVS_ALIGNMASK = 0x0c00 ; Determines the control's current alignment
  132. Global Const $LVS_ALIGNTOP = 0x0000 ; Items are aligned at the top in icon and small icon view
  133. Global Const $LVS_AUTOARRANGE = 0x0100 ; Icons are automatically kept arranged in icon and small icon view
  134. Global Const $LVS_DEFAULT = 0x0000000D ; Default control style $LVS_SHOWSELALWAYS + $LVS_SINGLESEL + $LVS_REPORT
  135. Global Const $LVS_EDITLABELS = 0x0200 ; Item text can be edited in place
  136. Global Const $LVS_ICON = 0x0000 ; This style specifies icon view
  137. Global Const $LVS_LIST = 0x0003 ; This style specifies list view
  138. Global Const $LVS_NOCOLUMNHEADER = 0x4000 ; Column headers are not displayed in report view
  139. Global Const $LVS_NOLABELWRAP = 0x0080 ; Item text is displayed on a single line in icon view
  140. Global Const $LVS_NOSCROLL = 0x2000 ; Scrolling is disabled
  141. Global Const $LVS_NOSORTHEADER = 0x8000 ; Column headers do not work like buttons
  142. Global Const $LVS_OWNERDATA = 0x1000
  143. Global Const $LVS_OWNERDRAWFIXED = 0x0400 ; The owner window can paint items in report view
  144. Global Const $LVS_REPORT = 0x0001 ; This style specifies report view
  145. Global Const $LVS_SHAREIMAGELISTS = 0x0040 ; The image list will not be deleted when the control is destroyed
  146. Global Const $LVS_SHOWSELALWAYS = 0x0008 ; The selection is always shown
  147. Global Const $LVS_SINGLESEL = 0x0004 ; Only one item at a time can be selected
  148. Global Const $LVS_SMALLICON = 0x0002 ; This style specifies small icon view
  149. Global Const $LVS_SORTASCENDING = 0x0010 ; Item indexes are sorted based on item text in ascending order
  150. Global Const $LVS_SORTDESCENDING = 0x0020 ; Item indexes are sorted based on item text in descending order
  151. Global Const $LVS_TYPEMASK = 0x0003 ; Determines the control's current window style
  152. Global Const $LVS_TYPESTYLEMASK = 0xfc00 ; Determines the window styles
  153. ; listView Extended Styles
  154. Global Const $LVS_EX_AUTOAUTOARRANGE = 0x01000000 ; Vista - Automatically arrange icons if no icon positions have been set (Similar to LVS_AUTOARRANGE).
  155. Global Const $LVS_EX_AUTOCHECKSELECT = 0x08000000 ; Vista - Automatically select check boxes on single click
  156. Global Const $LVS_EX_AUTOSIZECOLUMNS = 0x10000000 ; Vista - Automatically size listview columns
  157. Global Const $LVS_EX_BORDERSELECT = 0x00008000 ; The border color of the item changes when selected
  158. Global Const $LVS_EX_CHECKBOXES = 0x00000004 ; Enables check boxes for items
  159. Global Const $LVS_EX_COLUMNOVERFLOW = 0x80000000 ; Indicates that an overflow button should be displayed in icon/tile view if there is not enough client width to display the complete set of header items
  160. Global Const $LVS_EX_COLUMNSNAPPOINTS = 0x40000000 ; Vista - Snap to minimum column width when the user resizes a column
  161. Global Const $LVS_EX_DOUBLEBUFFER = 0x00010000 ; Paints via double-buffering, which reduces flicker
  162. Global Const $LVS_EX_FLATSB = 0x00000100 ; Enables flat scroll bars
  163. Global Const $LVS_EX_FULLROWSELECT = 0x00000020 ; When an item is selected, the item and all its subitems are highlighted
  164. Global Const $LVS_EX_GRIDLINES = 0x00000001 ; Displays gridlines around items and subitems
  165. Global Const $LVS_EX_HEADERDRAGDROP = 0x00000010 ; Enables drag-and-drop reordering of columns
  166. Global Const $LVS_EX_HEADERINALLVIEWS = 0x02000000 ; Vista - Show column headers in all view modes
  167. Global Const $LVS_EX_HIDELABELS = 0x20000 ; Hides the labels in icon and small icon view
  168. Global Const $LVS_EX_INFOTIP = 0x00000400 ; A message is sent to the parent before displaying an item's ToolTip
  169. Global Const $LVS_EX_JUSTIFYCOLUMNS = 0x00200000 ; Vista - Icons are lined up in columns that use up the whole view
  170. Global Const $LVS_EX_LABELTIP = 0x00004000 ; If a partially hidden label lacks ToolTip text, the label will unfold
  171. Global Const $LVS_EX_MULTIWORKAREAS = 0x00002000 ; The control will not autoarrange its icons until a work area is defined
  172. Global Const $LVS_EX_ONECLICKACTIVATE = 0x00000040 ; Sends an $LVN_ITEMACTIVATE message when the user clicks an item
  173. Global Const $LVS_EX_REGIONAL = 0x00000200 ; Sets the region to include only the icons and text using SetWindowRgn
  174. Global Const $LVS_EX_SIMPLESELECT = 0x00100000 ; Moves the state image to the top right of the large icon rendering#cs
  175. Global Const $LVS_EX_SNAPTOGRID = 0x00080000 ; Icons automatically snap to grid
  176. Global Const $LVS_EX_SUBITEMIMAGES = 0x00000002 ; Allows images to be displayed for subitems
  177. Global Const $LVS_EX_TRACKSELECT = 0x00000008 ; Enables hot-track selection
  178. Global Const $LVS_EX_TRANSPARENTBKGND = 0x00400000 ; Vista - Background is painted by the parent via WM_PRINTCLIENT
  179. Global Const $LVS_EX_TRANSPARENTSHADOWTEXT = 0x00800000 ; Vista - Enable shadow text on transparent backgrounds only
  180. Global Const $LVS_EX_TWOCLICKACTIVATE = 0x00000080 ; Sends an $LVN_ITEMACTIVATE message when the user double clicks an item
  181. Global Const $LVS_EX_UNDERLINECOLD = 0x00001000 ; Causes non-hot items to be displayed with underlined text
  182. Global Const $LVS_EX_UNDERLINEHOT = 0x00000800 ; Causes hot items to be displayed with underlined text
  183. ; Control default styles
  184. Global Const $GUI_SS_DEFAULT_LISTVIEW = BitOR($LVS_SHOWSELALWAYS, $LVS_SINGLESEL)
  185. ; ===============================================================================================================================
  186. ; #MESSAGES# ====================================================================================================================
  187. Global Const $LVM_FIRST = 0x1000
  188. Global Const $LVM_APPROXIMATEVIEWRECT = ($LVM_FIRST + 64)
  189. Global Const $LVM_ARRANGE = ($LVM_FIRST + 22)
  190. Global Const $LVM_CANCELEDITLABEL = ($LVM_FIRST + 179)
  191. Global Const $LVM_CREATEDRAGIMAGE = ($LVM_FIRST + 33)
  192. Global Const $LVM_DELETEALLITEMS = ($LVM_FIRST + 9)
  193. Global Const $LVM_DELETECOLUMN = ($LVM_FIRST + 28)
  194. Global Const $LVM_DELETEITEM = ($LVM_FIRST + 8)
  195. Global Const $LVM_EDITLABELA = ($LVM_FIRST + 23)
  196. Global Const $LVM_EDITLABELW = ($LVM_FIRST + 118)
  197. Global Const $LVM_EDITLABEL = $LVM_EDITLABELA
  198. Global Const $LVM_ENABLEGROUPVIEW = ($LVM_FIRST + 157)
  199. Global Const $LVM_ENSUREVISIBLE = ($LVM_FIRST + 19)
  200. Global Const $LVM_FINDITEM = ($LVM_FIRST + 13)
  201. Global Const $LVM_GETBKCOLOR = ($LVM_FIRST + 0)
  202. Global Const $LVM_GETBKIMAGEA = ($LVM_FIRST + 69)
  203. Global Const $LVM_GETBKIMAGEW = ($LVM_FIRST + 139)
  204. Global Const $LVM_GETCALLBACKMASK = ($LVM_FIRST + 10)
  205. Global Const $LVM_GETCOLUMNA = ($LVM_FIRST + 25)
  206. Global Const $LVM_GETCOLUMNW = ($LVM_FIRST + 95)
  207. Global Const $LVM_GETCOLUMNORDERARRAY = ($LVM_FIRST + 59)
  208. Global Const $LVM_GETCOLUMNWIDTH = ($LVM_FIRST + 29)
  209. Global Const $LVM_GETCOUNTPERPAGE = ($LVM_FIRST + 40)
  210. Global Const $LVM_GETEDITCONTROL = ($LVM_FIRST + 24)
  211. Global Const $LVM_GETEMPTYTEXT = ($LVM_FIRST + 204)
  212. Global Const $LVM_GETEXTENDEDLISTVIEWSTYLE = ($LVM_FIRST + 55)
  213. Global Const $LVM_GETFOCUSEDGROUP = ($LVM_FIRST + 93)
  214. Global Const $LVM_GETFOOTERINFO = ($LVM_FIRST + 206)
  215. Global Const $LVM_GETFOOTERITEM = ($LVM_FIRST + 208)
  216. Global Const $LVM_GETFOOTERITEMRECT = ($LVM_FIRST + 207)
  217. Global Const $LVM_GETFOOTERRECT = ($LVM_FIRST + 205)
  218. Global Const $LVM_GETGROUPCOUNT = ($LVM_FIRST + 152)
  219. Global Const $LVM_GETGROUPINFO = ($LVM_FIRST + 149)
  220. Global Const $LVM_GETGROUPINFOBYINDEX = ($LVM_FIRST + 153)
  221. Global Const $LVM_GETGROUPMETRICS = ($LVM_FIRST + 156)
  222. Global Const $LVM_GETGROUPRECT = ($LVM_FIRST + 98)
  223. Global Const $LVM_GETGROUPSTATE = ($LVM_FIRST + 92)
  224. Global Const $LVM_GETHEADER = ($LVM_FIRST + 31)
  225. Global Const $LVM_GETHOTCURSOR = ($LVM_FIRST + 63)
  226. Global Const $LVM_GETHOTITEM = ($LVM_FIRST + 61)
  227. Global Const $LVM_GETHOVERTIME = ($LVM_FIRST + 72)
  228. Global Const $LVM_GETIMAGELIST = ($LVM_FIRST + 2)
  229. Global Const $LVM_GETINSERTMARK = ($LVM_FIRST + 167)
  230. Global Const $LVM_GETINSERTMARKCOLOR = ($LVM_FIRST + 171)
  231. Global Const $LVM_GETINSERTMARKRECT = ($LVM_FIRST + 169)
  232. Global Const $LVM_GETISEARCHSTRINGA = ($LVM_FIRST + 52)
  233. Global Const $LVM_GETISEARCHSTRINGW = ($LVM_FIRST + 117)
  234. Global Const $LVM_GETITEMA = ($LVM_FIRST + 5)
  235. Global Const $LVM_GETITEMW = ($LVM_FIRST + 75)
  236. Global Const $LVM_GETITEMCOUNT = ($LVM_FIRST + 4)
  237. Global Const $LVM_GETITEMINDEXRECT = ($LVM_FIRST + 209)
  238. Global Const $LVM_GETITEMPOSITION = ($LVM_FIRST + 16)
  239. Global Const $LVM_GETITEMRECT = ($LVM_FIRST + 14)
  240. Global Const $LVM_GETITEMSPACING = ($LVM_FIRST + 51)
  241. Global Const $LVM_GETITEMSTATE = ($LVM_FIRST + 44)
  242. Global Const $LVM_GETITEMTEXTA = ($LVM_FIRST + 45)
  243. Global Const $LVM_GETITEMTEXTW = ($LVM_FIRST + 115)
  244. Global Const $LVM_GETNEXTITEM = ($LVM_FIRST + 12)
  245. Global Const $LVM_GETNEXTITEMINDEX = ($LVM_FIRST + 211)
  246. Global Const $LVM_GETNUMBEROFWORKAREAS = ($LVM_FIRST + 73)
  247. Global Const $LVM_GETORIGIN = ($LVM_FIRST + 41)
  248. Global Const $LVM_GETOUTLINECOLOR = ($LVM_FIRST + 176)
  249. Global Const $LVM_GETSELECTEDCOLUMN = ($LVM_FIRST + 174)
  250. Global Const $LVM_GETSELECTEDCOUNT = ($LVM_FIRST + 50)
  251. Global Const $LVM_GETSELECTIONMARK = ($LVM_FIRST + 66)
  252. Global Const $LVM_GETSTRINGWIDTHA = ($LVM_FIRST + 17)
  253. Global Const $LVM_GETSTRINGWIDTHW = ($LVM_FIRST + 87)
  254. Global Const $LVM_GETSUBITEMRECT = ($LVM_FIRST + 56)
  255. Global Const $LVM_GETTEXTBKCOLOR = ($LVM_FIRST + 37)
  256. Global Const $LVM_GETTEXTCOLOR = ($LVM_FIRST + 35)
  257. Global Const $LVM_GETTILEINFO = ($LVM_FIRST + 165)
  258. Global Const $LVM_GETTILEVIEWINFO = ($LVM_FIRST + 163)
  259. Global Const $LVM_GETTOOLTIPS = ($LVM_FIRST + 78)
  260. Global Const $LVM_GETTOPINDEX = ($LVM_FIRST + 39)
  261. Global Const $LVM_GETUNICODEFORMAT = 0x2000 + 6
  262. Global Const $LVM_GETVIEW = ($LVM_FIRST + 143)
  263. Global Const $LVM_GETVIEWRECT = ($LVM_FIRST + 34)
  264. Global Const $LVM_GETWORKAREAS = ($LVM_FIRST + 70)
  265. Global Const $LVM_HASGROUP = ($LVM_FIRST + 161)
  266. Global Const $LVM_HITTEST = ($LVM_FIRST + 18)
  267. Global Const $LVM_INSERTCOLUMNA = ($LVM_FIRST + 27)
  268. Global Const $LVM_INSERTCOLUMNW = ($LVM_FIRST + 97)
  269. Global Const $LVM_INSERTGROUP = ($LVM_FIRST + 145)
  270. Global Const $LVM_INSERTGROUPSORTED = ($LVM_FIRST + 159)
  271. Global Const $LVM_INSERTITEMA = ($LVM_FIRST + 7)
  272. Global Const $LVM_INSERTITEMW = ($LVM_FIRST + 77)
  273. Global Const $LVM_INSERTMARKHITTEST = ($LVM_FIRST + 168)
  274. Global Const $LVM_ISGROUPVIEWENABLED = ($LVM_FIRST + 175)
  275. Global Const $LVM_ISITEMVISIBLE = ($LVM_FIRST + 182)
  276. Global Const $LVM_MAPIDTOINDEX = ($LVM_FIRST + 181)
  277. Global Const $LVM_MAPINDEXTOID = ($LVM_FIRST + 180)
  278. Global Const $LVM_MOVEGROUP = ($LVM_FIRST + 151)
  279. Global Const $LVM_REDRAWITEMS = ($LVM_FIRST + 21)
  280. Global Const $LVM_REMOVEALLGROUPS = ($LVM_FIRST + 160)
  281. Global Const $LVM_REMOVEGROUP = ($LVM_FIRST + 150)
  282. Global Const $LVM_SCROLL = ($LVM_FIRST + 20)
  283. Global Const $LVM_SETBKCOLOR = ($LVM_FIRST + 1)
  284. Global Const $LVM_SETBKIMAGEA = ($LVM_FIRST + 68)
  285. Global Const $LVM_SETBKIMAGEW = ($LVM_FIRST + 138)
  286. Global Const $LVM_SETCALLBACKMASK = ($LVM_FIRST + 11)
  287. Global Const $LVM_SETCOLUMNA = ($LVM_FIRST + 26)
  288. Global Const $LVM_SETCOLUMNW = ($LVM_FIRST + 96)
  289. Global Const $LVM_SETCOLUMNORDERARRAY = ($LVM_FIRST + 58)
  290. Global Const $LVM_SETCOLUMNWIDTH = ($LVM_FIRST + 30)
  291. Global Const $LVM_SETEXTENDEDLISTVIEWSTYLE = ($LVM_FIRST + 54)
  292. Global Const $LVM_SETGROUPINFO = ($LVM_FIRST + 147)
  293. Global Const $LVM_SETGROUPMETRICS = ($LVM_FIRST + 155)
  294. Global Const $LVM_SETHOTCURSOR = ($LVM_FIRST + 62)
  295. Global Const $LVM_SETHOTITEM = ($LVM_FIRST + 60)
  296. Global Const $LVM_SETHOVERTIME = ($LVM_FIRST + 71)
  297. Global Const $LVM_SETICONSPACING = ($LVM_FIRST + 53)
  298. Global Const $LVM_SETIMAGELIST = ($LVM_FIRST + 3)
  299. Global Const $LVM_SETINFOTIP = ($LVM_FIRST + 173)
  300. Global Const $LVM_SETINSERTMARK = ($LVM_FIRST + 166)
  301. Global Const $LVM_SETINSERTMARKCOLOR = ($LVM_FIRST + 170)
  302. Global Const $LVM_SETITEMA = ($LVM_FIRST + 6)
  303. Global Const $LVM_SETITEMW = ($LVM_FIRST + 76)
  304. Global Const $LVM_SETITEMCOUNT = ($LVM_FIRST + 47)
  305. Global Const $LVM_SETITEMINDEXSTATE = ($LVM_FIRST + 210)
  306. Global Const $LVM_SETITEMPOSITION = ($LVM_FIRST + 15)
  307. Global Const $LVM_SETITEMPOSITION32 = ($LVM_FIRST + 49)
  308. Global Const $LVM_SETITEMSTATE = ($LVM_FIRST + 43)
  309. Global Const $LVM_SETITEMTEXTA = ($LVM_FIRST + 46)
  310. Global Const $LVM_SETITEMTEXTW = ($LVM_FIRST + 116)
  311. Global Const $LVM_SETOUTLINECOLOR = ($LVM_FIRST + 177)
  312. Global Const $LVM_SETSELECTEDCOLUMN = ($LVM_FIRST + 140)
  313. Global Const $LVM_SETSELECTIONMARK = ($LVM_FIRST + 67)
  314. Global Const $LVM_SETTEXTBKCOLOR = ($LVM_FIRST + 38)
  315. Global Const $LVM_SETTEXTCOLOR = ($LVM_FIRST + 36)
  316. Global Const $LVM_SETTILEINFO = ($LVM_FIRST + 164)
  317. Global Const $LVM_SETTILEVIEWINFO = ($LVM_FIRST + 162)
  318. Global Const $LVM_SETTILEWIDTH = ($LVM_FIRST + 141)
  319. Global Const $LVM_SETTOOLTIPS = ($LVM_FIRST + 74)
  320. Global Const $LVM_SETUNICODEFORMAT = 0x2000 + 5
  321. Global Const $LVM_SETVIEW = ($LVM_FIRST + 142)
  322. Global Const $LVM_SETWORKAREAS = ($LVM_FIRST + 65)
  323. Global Const $LVM_SORTGROUPS = ($LVM_FIRST + 158)
  324. Global Const $LVM_SORTITEMS = ($LVM_FIRST + 48)
  325. Global Const $LVM_SORTITEMSEX = ($LVM_FIRST + 81)
  326. Global Const $LVM_SUBITEMHITTEST = ($LVM_FIRST + 57)
  327. Global Const $LVM_UPDATE = ($LVM_FIRST + 42)
  328. ; ===============================================================================================================================
  329. ; #NOTIFICATIONS# ===============================================================================================================
  330. Global Const $LVN_FIRST = -100
  331. Global Const $LVN_LAST = -199
  332. Global Const $LVN_BEGINDRAG = ($LVN_FIRST - 9) ; A drag and drop involving the left mouse button is being initiated
  333. Global Const $LVN_BEGINLABELEDITA = ($LVN_FIRST - 5) ; The label editting is starting
  334. Global Const $LVN_BEGINLABELEDITW = ($LVN_FIRST - 75) ; [Unicode] The label editting is starting
  335. Global Const $LVN_BEGINRDRAG = ($LVN_FIRST - 11) ; A drag and drop involving the right mouse button is being initiated
  336. Global Const $LVN_BEGINSCROLL = ($LVN_FIRST - 80)
  337. Global Const $LVN_COLUMNCLICK = ($LVN_FIRST - 8) ; A column was clicked
  338. Global Const $LVN_COLUMNDROPDOWN = ($LVN_FIRST - 64)
  339. Global Const $LVN_COLUMNOVERFLOWCLICK = ($LVN_FIRST - 66)
  340. Global Const $LVN_DELETEALLITEMS = ($LVN_FIRST - 4) ; All items are about to be deleted
  341. Global Const $LVN_DELETEITEM = ($LVN_FIRST - 3) ; An item is about to be deleted
  342. Global Const $LVN_ENDLABELEDITA = ($LVN_FIRST - 6) ; The label editting is ending
  343. Global Const $LVN_ENDLABELEDITW = ($LVN_FIRST - 76) ; [Unicode] The label editting is ending
  344. Global Const $LVN_ENDSCROLL = ($LVN_FIRST - 81)
  345. Global Const $LVN_GETDISPINFOA = ($LVN_FIRST - 50) ; Request for the parent to provide information
  346. Global Const $LVN_GETDISPINFOW = ($LVN_FIRST - 77) ; [Unicode] Request for the parent to provide information
  347. Global Const $LVN_GETDISPINFO = $LVN_GETDISPINFOA
  348. Global Const $LVN_GETEMPTYMARKUP = ($LVN_FIRST - 87) ; Vista - when the control has no items
  349. Global Const $LVN_GETINFOTIPA = ($LVN_FIRST - 57)
  350. Global Const $LVN_GETINFOTIPW = ($LVN_FIRST - 58)
  351. Global Const $LVN_HOTTRACK = ($LVN_FIRST - 21) ; The user moved the mouse over an item
  352. Global Const $LVN_INCREMENTALSEARCHA = ($LVN_FIRST - 62)
  353. Global Const $LVN_INCREMENTALSEARCHW = ($LVN_FIRST - 63)
  354. Global Const $LVN_INSERTITEM = ($LVN_FIRST - 2) ; A new item was inserted
  355. Global Const $LVN_ITEMACTIVATE = ($LVN_FIRST - 14) ; The user activated an item
  356. Global Const $LVN_ITEMCHANGED = ($LVN_FIRST - 1) ; An item has changed
  357. Global Const $LVN_ITEMCHANGING = ($LVN_FIRST - 0) ; An item is changing
  358. Global Const $LVN_KEYDOWN = ($LVN_FIRST - 55)
  359. Global Const $LVN_LINKCLICK = ($LVN_FIRST - 84) ; Vista - a link has been clicked on
  360. Global Const $LVN_MARQUEEBEGIN = ($LVN_FIRST - 56)
  361. Global Const $LVN_ODCACHEHINT = ($LVN_FIRST - 13) ; The contents of its display area for a virtual control have changed
  362. Global Const $LVN_ODFINDITEMA = ($LVN_FIRST - 52) ; Sent to the parent when it needs to find a callback item
  363. Global Const $LVN_ODFINDITEMW = ($LVN_FIRST - 79) ; [Unicode] Sent to the parent when it needs to find a callback item
  364. Global Const $LVN_ODFINDITEM = $LVN_ODFINDITEMA
  365. Global Const $LVN_ODSTATECHANGED = ($LVN_FIRST - 15) ; The state of an item or range of items in a virtual control has changed
  366. Global Const $LVN_SETDISPINFOA = ($LVN_FIRST - 51) ; Sent to the parent when it needs to update item information
  367. Global Const $LVN_SETDISPINFOW = ($LVN_FIRST - 78) ; [Unicode] Sent to the parent when it needs to update item information
  368. Global Const $LVNI_ABOVE = 0x0100
  369. Global Const $LVNI_BELOW = 0x0200
  370. Global Const $LVNI_TOLEFT = 0x0400
  371. Global Const $LVNI_TORIGHT = 0x0800
  372. Global Const $LVNI_ALL = 0x0000
  373. Global Const $LVNI_CUT = 0x0004
  374. Global Const $LVNI_DROPHILITED = 0x0008
  375. Global Const $LVNI_FOCUSED = 0x0001
  376. Global Const $LVNI_SELECTED = 0x0002
  377. Global Const $LVSCW_AUTOSIZE = -1
  378. Global Const $LVSCW_AUTOSIZE_USEHEADER = -2
  379. Global Const $LVSICF_NOINVALIDATEALL = 0x00000001
  380. Global Const $LVSICF_NOSCROLL = 0x00000002
  381. Global Const $LVSIL_NORMAL = 0
  382. Global Const $LVSIL_SMALL = 1
  383. Global Const $LVSIL_STATE = 2
  384. Global Const $LVFN_DIR_LEFT = 0
  385. Global Const $LVFN_DIR_RIGHT = 1
  386. Global Const $LVFN_DIR_UP = 2
  387. Global Const $LVFN_DIR_DOWN = 3
  388. Global Const $LVFN_DIR_START = 4
  389. Global Const $LVFN_DIR_MEND = 5
  390. Global Const $LVFN_DIR_PRIOR = 6
  391. Global Const $LVFN_DIR_NEXT = 7
  392. ; ===============================================================================================================================