GUIConstantsEx.au3 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. #include-once
  2. ; #INDEX# =======================================================================================================================
  3. ; Title .........: GUIConstantsEx
  4. ; AutoIt Version : 3.3.14.5
  5. ; Language ......: English
  6. ; Description ...: Constants to be used in GUI applications.
  7. ; Author(s) .....: Jpm, Valik
  8. ; Dll ...........:
  9. ; ===============================================================================================================================
  10. ; #CONSTANTS# ===================================================================================================================
  11. ; Events and messages
  12. Global Const $GUI_EVENT_SINGLE = 0 ; (default) Returns a single event.
  13. Global Const $GUI_EVENT_ARRAY = 1 ; returns an array containing the event and extended information.
  14. Global Const $GUI_EVENT_NONE = 0
  15. Global Const $GUI_EVENT_CLOSE = -3
  16. Global Const $GUI_EVENT_MINIMIZE = -4
  17. Global Const $GUI_EVENT_RESTORE = -5
  18. Global Const $GUI_EVENT_MAXIMIZE = -6
  19. Global Const $GUI_EVENT_PRIMARYDOWN = -7
  20. Global Const $GUI_EVENT_PRIMARYUP = -8
  21. Global Const $GUI_EVENT_SECONDARYDOWN = -9
  22. Global Const $GUI_EVENT_SECONDARYUP = -10
  23. Global Const $GUI_EVENT_MOUSEMOVE = -11
  24. Global Const $GUI_EVENT_RESIZED = -12
  25. Global Const $GUI_EVENT_DROPPED = -13
  26. Global Const $GUI_RUNDEFMSG = 'GUI_RUNDEFMSG'
  27. ; State
  28. Global Const $GUI_AVISTOP = 0
  29. Global Const $GUI_AVISTART = 1
  30. Global Const $GUI_AVICLOSE = 2
  31. Global Const $GUI_CHECKED = 1
  32. Global Const $GUI_INDETERMINATE = 2
  33. Global Const $GUI_UNCHECKED = 4
  34. Global Const $GUI_DROPACCEPTED = 8
  35. Global Const $GUI_NODROPACCEPTED = 4096
  36. Global Const $GUI_ACCEPTFILES = $GUI_DROPACCEPTED ; to be suppressed
  37. Global Const $GUI_SHOW = 16
  38. Global Const $GUI_HIDE = 32
  39. Global Const $GUI_ENABLE = 64
  40. Global Const $GUI_DISABLE = 128
  41. Global Const $GUI_FOCUS = 256
  42. Global Const $GUI_NOFOCUS = 8192
  43. Global Const $GUI_DEFBUTTON = 512
  44. Global Const $GUI_EXPAND = 1024
  45. Global Const $GUI_ONTOP = 2048
  46. ; Font
  47. Global Const $GUI_FONTNORMAL = 0
  48. Global Const $GUI_FONTITALIC = 2
  49. Global Const $GUI_FONTUNDER = 4
  50. Global Const $GUI_FONTSTRIKE = 8
  51. ; Resizing
  52. Global Const $GUI_DOCKAUTO = 0x0001
  53. Global Const $GUI_DOCKLEFT = 0x0002
  54. Global Const $GUI_DOCKRIGHT = 0x0004
  55. Global Const $GUI_DOCKHCENTER = 0x0008
  56. Global Const $GUI_DOCKTOP = 0x0020
  57. Global Const $GUI_DOCKBOTTOM = 0x0040
  58. Global Const $GUI_DOCKVCENTER = 0x0080
  59. Global Const $GUI_DOCKWIDTH = 0x0100
  60. Global Const $GUI_DOCKHEIGHT = 0x0200
  61. Global Const $GUI_DOCKSIZE = 0x0300 ; width+height
  62. Global Const $GUI_DOCKMENUBAR = 0x0220 ; top+height
  63. Global Const $GUI_DOCKSTATEBAR = 0x0240 ; bottom+height
  64. Global Const $GUI_DOCKALL = 0x0322 ; left+top+width+height
  65. Global Const $GUI_DOCKBORDERS = 0x0066 ; left+top+right+bottom
  66. ; Graphic
  67. Global Const $GUI_GR_CLOSE = 1
  68. Global Const $GUI_GR_LINE = 2
  69. Global Const $GUI_GR_BEZIER = 4
  70. Global Const $GUI_GR_MOVE = 6
  71. Global Const $GUI_GR_COLOR = 8
  72. Global Const $GUI_GR_RECT = 10
  73. Global Const $GUI_GR_ELLIPSE = 12
  74. Global Const $GUI_GR_PIE = 14
  75. Global Const $GUI_GR_DOT = 16
  76. Global Const $GUI_GR_PIXEL = 18
  77. Global Const $GUI_GR_HINT = 20
  78. Global Const $GUI_GR_REFRESH = 22
  79. Global Const $GUI_GR_PENSIZE = 24
  80. Global Const $GUI_GR_NOBKCOLOR = -2
  81. ; Background color special flags
  82. Global Const $GUI_BKCOLOR_DEFAULT = -1
  83. Global Const $GUI_BKCOLOR_TRANSPARENT = -2
  84. Global Const $GUI_BKCOLOR_LV_ALTERNATE = 0xFE000000
  85. ; GUICtrlRead Constants
  86. Global Const $GUI_READ_DEFAULT = 0 ; (Default) Returns a value with state or data of a control.
  87. Global Const $GUI_READ_EXTENDED = 1 ; Returns extended information of a control (see Remarks).
  88. ; GUISetCursor Constants
  89. Global Const $GUI_CURSOR_NOOVERRIDE = 0 ; (default) Don't override a control's default mouse cursor.
  90. Global Const $GUI_CURSOR_OVERRIDE = 1 ; override control's default mouse cursor.
  91. ; Other
  92. Global Const $GUI_WS_EX_PARENTDRAG = 0x00100000
  93. ; ===============================================================================================================================