ListBoxConstants.au3 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. #include-once
  2. ; #INDEX# =======================================================================================================================
  3. ; Title .........: ListBox_Constants
  4. ; AutoIt Version : 3.3.14.5
  5. ; Language ......: English
  6. ; Description ...: <a href="../appendix/GUIStyles.htm#List">GUI control ListBox styles</a> and much more constants.
  7. ; Author(s) .....: Valik, Gary Frost, ...
  8. ; ===============================================================================================================================
  9. ; #CONSTANTS# ===================================================================================================================
  10. ; Styles
  11. Global Const $LBS_NOTIFY = 0x00000001 ; Notifies whenever the user clicks or double clicks a string
  12. Global Const $LBS_SORT = 0x00000002 ; Sorts strings in the list box alphabetically
  13. Global Const $LBS_NOREDRAW = 0x00000004 ; Specifies that the appearance is not updated when changes are made
  14. Global Const $LBS_MULTIPLESEL = 0x00000008 ; Turns string selection on or off each time the user clicks a string
  15. Global Const $LBS_OWNERDRAWFIXED = 0x00000010 ; Specifies that the list box is owner drawn
  16. Global Const $LBS_OWNERDRAWVARIABLE = 0x00000020 ; Specifies that the list box is owner drawn with variable height
  17. Global Const $LBS_HASSTRINGS = 0x00000040 ; Specifies that a list box contains items consisting of strings
  18. Global Const $LBS_USETABSTOPS = 0x00000080 ; Enables a list box to recognize and expand tab characters
  19. Global Const $LBS_NOINTEGRALHEIGHT = 0x00000100 ; Specifies that the size is exactly the size set by the application
  20. Global Const $LBS_MULTICOLUMN = 0x00000200 ; Specifies a multi columnn list box that is scrolled horizontally
  21. Global Const $LBS_WANTKEYBOARDINPUT = 0x00000400 ; Specifies that the owner window receives WM_VKEYTOITEM messages
  22. Global Const $LBS_EXTENDEDSEL = 0x00000800 ; Allows multiple items to be selected
  23. Global Const $LBS_DISABLENOSCROLL = 0x00001000 ; Shows a disabled vertical scroll bar
  24. Global Const $LBS_NODATA = 0x00002000 ; Specifies a no-data list box
  25. Global Const $LBS_NOSEL = 0x00004000 ; Specifies that items that can be viewed but not selected
  26. Global Const $LBS_COMBOBOX = 0x00008000 ; Notifies a list box that it is part of a combo box
  27. Global Const $LBS_STANDARD = 0x00000003 ; Standard list box style
  28. ; Control default styles
  29. Global Const $GUI_SS_DEFAULT_LIST = 0x00a00003 ; BitOR($LBS_SORT, $WS_BORDER, $S_VSCROLL, $LBS_NOTIFY)
  30. ; Errors
  31. Global Const $LB_ERR = -1
  32. Global Const $LB_ERRATTRIBUTE = -3
  33. Global Const $LB_ERRREQUIRED = -4
  34. Global Const $LB_ERRSPACE = -2
  35. ; Messages
  36. Global Const $LB_ADDSTRING = 0x0180
  37. Global Const $LB_INSERTSTRING = 0x0181
  38. Global Const $LB_DELETESTRING = 0x0182
  39. Global Const $LB_SELITEMRANGEEX = 0x0183
  40. Global Const $LB_RESETCONTENT = 0x0184
  41. Global Const $LB_SETSEL = 0x0185
  42. Global Const $LB_SETCURSEL = 0x0186
  43. Global Const $LB_GETSEL = 0x0187
  44. Global Const $LB_GETCURSEL = 0x0188
  45. Global Const $LB_GETTEXT = 0x0189
  46. Global Const $LB_GETTEXTLEN = 0x018A
  47. Global Const $LB_GETCOUNT = 0x018B
  48. Global Const $LB_SELECTSTRING = 0x018C
  49. Global Const $LB_DIR = 0x018D
  50. Global Const $LB_GETTOPINDEX = 0x018E
  51. Global Const $LB_FINDSTRING = 0x018F
  52. Global Const $LB_GETSELCOUNT = 0x0190
  53. Global Const $LB_GETSELITEMS = 0x0191
  54. Global Const $LB_SETTABSTOPS = 0x0192
  55. Global Const $LB_GETHORIZONTALEXTENT = 0x0193
  56. Global Const $LB_SETHORIZONTALEXTENT = 0x0194
  57. Global Const $LB_SETCOLUMNWIDTH = 0x0195
  58. Global Const $LB_ADDFILE = 0x0196
  59. Global Const $LB_SETTOPINDEX = 0x0197
  60. Global Const $LB_GETITEMRECT = 0x0198
  61. Global Const $LB_GETITEMDATA = 0x0199
  62. Global Const $LB_SETITEMDATA = 0x019A
  63. Global Const $LB_SELITEMRANGE = 0x019B
  64. Global Const $LB_SETANCHORINDEX = 0x019C
  65. Global Const $LB_GETANCHORINDEX = 0x019D
  66. Global Const $LB_SETCARETINDEX = 0x019E
  67. Global Const $LB_GETCARETINDEX = 0x019F
  68. Global Const $LB_SETITEMHEIGHT = 0x01A0
  69. Global Const $LB_GETITEMHEIGHT = 0x01A1
  70. Global Const $LB_FINDSTRINGEXACT = 0x01A2
  71. Global Const $LB_SETLOCALE = 0x01A5
  72. Global Const $LB_GETLOCALE = 0x01A6
  73. Global Const $LB_SETCOUNT = 0x01A7
  74. Global Const $LB_INITSTORAGE = 0x01A8
  75. Global Const $LB_ITEMFROMPOINT = 0x01A9
  76. Global Const $LB_MULTIPLEADDSTRING = 0x01B1
  77. Global Const $LB_GETLISTBOXINFO = 0x01B2
  78. ; Notifications
  79. Global Const $LBN_ERRSPACE = 0xFFFFFFFE ; Sent when a list box cannot allocate enough memory for a request
  80. Global Const $LBN_SELCHANGE = 0x00000001 ; Sent when the selection in a list box is about to change
  81. Global Const $LBN_DBLCLK = 0x00000002 ; Sent when the user double clicks a string in a list box
  82. Global Const $LBN_SELCANCEL = 0x00000003 ; Sent when the user cancels the selection in a list box
  83. Global Const $LBN_SETFOCUS = 0x00000004 ; Sent when a list box receives the keyboard focus
  84. Global Const $LBN_KILLFOCUS = 0x00000005 ; Sent when a list box loses the keyboard focus
  85. ; ===============================================================================================================================