APIThemeConstants.au3 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. #include-once
  2. ; #INDEX# =======================================================================================================================
  3. ; Title .........: WinAPITheme Constants UDF Library for AutoIt3
  4. ; AutoIt Version : 3.3.14.5
  5. ; Language ......: English
  6. ; Description ...: Constants that can be used with UDF library
  7. ; Author(s) .....: Yashied, Jpm
  8. ; ===============================================================================================================================
  9. ; #CONSTANTS# ===================================================================================================================
  10. ; _WinAPI_BeginBufferedPaint()
  11. Global Const $BPBF_COMPATIBLEBITMAP = 0
  12. Global Const $BPBF_DIB = 1
  13. Global Const $BPBF_TOPDOWNDIB = 2
  14. Global Const $BPBF_TOPDOWNMONODIB = 3
  15. Global Const $BPPF_ERASE = 0x01
  16. Global Const $BPPF_NOCLIP = 0x02
  17. Global Const $BPPF_NONCLIENT = 0x04
  18. ; _WinAPI_DrawThemeTextEx()
  19. Global Const $DTT_TEXTCOLOR = 0x00000001
  20. Global Const $DTT_BORDERCOLOR = 0x00000002
  21. Global Const $DTT_SHADOWCOLOR = 0x00000004
  22. Global Const $DTT_SHADOWTYPE = 0x00000008
  23. Global Const $DTT_SHADOWOFFSET = 0x00000010
  24. Global Const $DTT_BORDERSIZE = 0x00000020
  25. Global Const $DTT_FONTPROP = 0x00000040
  26. Global Const $DTT_COLORPROP = 0x00000080
  27. Global Const $DTT_STATEID = 0x00000100
  28. Global Const $DTT_CALCRECT = 0x00000200
  29. Global Const $DTT_APPLYOVERLAY = 0x00000400
  30. Global Const $DTT_GLOWSIZE = 0x00000800
  31. Global Const $DTT_CALLBACK = 0x00001000
  32. Global Const $DTT_COMPOSITED = 0x00002000
  33. Global Const $DTT_VALIDBITS = BitOR($DTT_TEXTCOLOR, $DTT_BORDERCOLOR, $DTT_SHADOWCOLOR, $DTT_SHADOWTYPE, $DTT_SHADOWOFFSET, $DTT_BORDERSIZE, $DTT_FONTPROP, $DTT_COLORPROP, $DTT_STATEID, $DTT_CALCRECT, $DTT_APPLYOVERLAY, $DTT_GLOWSIZE, $DTT_COMPOSITED)
  34. Global Const $TST_NONE = 0
  35. Global Const $TST_SINGLE = 1
  36. Global Const $TST_CONTINUOUS = 2
  37. ; _WinAPI_GetThemeAppProperties(), _WinAPI_SetThemeAppProperties()
  38. Global Const $STAP_ALLOW_NONCLIENT = 0x01
  39. Global Const $STAP_ALLOW_CONTROLS = 0x02
  40. Global Const $STAP_ALLOW_WEBCONTENT = 0x04
  41. ; _WinAPI_GetThemeBitmap()
  42. Global Const $GBF_DIRECT = 0x01
  43. Global Const $GBF_COPY = 0x02
  44. Global Const $GBF_VALIDBITS = BitOR($GBF_DIRECT, $GBF_COPY)
  45. ; _WinAPI_GetThemeDocumentationProperty()
  46. Global Const $SZ_THDOCPROP_AUTHOR = 'Author'
  47. Global Const $SZ_THDOCPROP_CANONICALNAME = 'ThemeName'
  48. Global Const $SZ_THDOCPROP_DISPLAYNAME = 'DisplayName'
  49. Global Const $SZ_THDOCPROP_TOOLTIP = 'ToolTip'
  50. ; _WinAPI_GetThemePartSize()
  51. Global Const $TS_MIN = 0
  52. Global Const $TS_TRUE = 1
  53. Global Const $TS_DRAW = 2
  54. ; _WinAPI_GetThemePropertyOrigin()
  55. Global Const $PO_CLASS = 2
  56. Global Const $PO_GLOBAL = 3
  57. Global Const $PO_NOTFOUND = 4
  58. Global Const $PO_PART = 1
  59. Global Const $PO_STATE = 0
  60. ; _WinAPI_*Theme*()
  61. Global Const $TMT_BOOL = 203
  62. Global Const $TMT_COLOR = 204
  63. Global Const $TMT_DIBDATA = 2
  64. Global Const $TMT_DISKSTREAM = 213
  65. Global Const $TMT_ENUM = 200
  66. Global Const $TMT_FILENAME = 206
  67. Global Const $TMT_FONT = 210
  68. Global Const $TMT_GLYPHDIBDATA = 8
  69. Global Const $TMT_HBITMAP = 212
  70. Global Const $TMT_INT = 202
  71. Global Const $TMT_INTLIST = 211
  72. Global Const $TMT_MARGINS = 205
  73. Global Const $TMT_POSITION = 208
  74. Global Const $TMT_RECT = 209
  75. Global Const $TMT_SIZE = 207
  76. Global Const $TMT_STRING = 201
  77. ; *Bool
  78. Global Const $TMT_ALWAYSSHOWSIZINGBAR = 2208
  79. Global Const $TMT_AUTOSIZE = 2202
  80. Global Const $TMT_BGFILL = 2205
  81. Global Const $TMT_BORDERONLY = 2203
  82. Global Const $TMT_COMPOSITED = 2204
  83. Global Const $TMT_COMPOSITEDOPAQUE = 2219
  84. Global Const $TMT_DRAWBORDERS = 2214
  85. Global Const $TMT_FLATMENUS = 1001
  86. Global Const $TMT_GLYPHONLY = 2207
  87. Global Const $TMT_GLYPHTRANSPARENT = 2206
  88. Global Const $TMT_INTEGRALSIZING = 2211
  89. Global Const $TMT_LOCALIZEDMIRRORIMAGE = 2220
  90. Global Const $TMT_MIRRORIMAGE = 2209
  91. Global Const $TMT_NOETCHEDEFFECT = 2215
  92. Global Const $TMT_SOURCEGROW = 2212
  93. Global Const $TMT_SOURCESHRINK = 2213
  94. Global Const $TMT_TEXTAPPLYOVERLAY = 2216
  95. Global Const $TMT_TEXTGLOW = 2217
  96. Global Const $TMT_TEXTITALIC = 2218
  97. Global Const $TMT_TRANSPARENT = 2201
  98. Global Const $TMT_UNIFORMSIZING = 2210
  99. Global Const $TMT_USERPICTURE = 5001
  100. ; *Color
  101. Global Const $TMT_ACCENTCOLORHINT = 3823
  102. Global Const $TMT_ACTIVEBORDER = 1611
  103. Global Const $TMT_ACTIVECAPTION = 1603
  104. Global Const $TMT_APPWORKSPACE = 1613
  105. Global Const $TMT_BACKGROUND = 1602
  106. Global Const $TMT_BLENDCOLOR = 5003
  107. Global Const $TMT_BODYTEXTCOLOR = 3827
  108. Global Const $TMT_BORDERCOLOR = 3801
  109. Global Const $TMT_BORDERCOLORHINT = 3822
  110. Global Const $TMT_BTNFACE = 1616
  111. Global Const $TMT_BTNHIGHLIGHT = 1621
  112. Global Const $TMT_BTNSHADOW = 1617
  113. Global Const $TMT_BTNTEXT = 1619
  114. Global Const $TMT_BUTTONALTERNATEFACE = 1626
  115. Global Const $TMT_CAPTIONTEXT = 1610
  116. Global Const $TMT_DKSHADOW3D = 1622
  117. Global Const $TMT_EDGEDKSHADOWCOLOR = 3807
  118. Global Const $TMT_EDGEFILLCOLOR = 3808
  119. Global Const $TMT_EDGEHIGHLIGHTCOLOR = 3805
  120. Global Const $TMT_EDGELIGHTCOLOR = 3804
  121. Global Const $TMT_EDGESHADOWCOLOR = 3806
  122. Global Const $TMT_FILLCOLOR = 3802
  123. Global Const $TMT_FILLCOLORHINT = 3821
  124. Global Const $TMT_FROMCOLOR1 = 2001
  125. Global Const $TMT_FROMCOLOR2 = 2002
  126. Global Const $TMT_FROMCOLOR3 = 2003
  127. Global Const $TMT_FROMCOLOR4 = 2004
  128. Global Const $TMT_FROMCOLOR5 = 2005
  129. Global Const $TMT_GLOWCOLOR = 3816
  130. Global Const $TMT_GLYPHTEXTCOLOR = 3819
  131. Global Const $TMT_GLYPHTRANSPARENTCOLOR = 3820
  132. Global Const $TMT_GRADIENTACTIVECAPTION = 1628
  133. Global Const $TMT_GRADIENTCOLOR1 = 3810
  134. Global Const $TMT_GRADIENTCOLOR2 = 3811
  135. Global Const $TMT_GRADIENTCOLOR3 = 3812
  136. Global Const $TMT_GRADIENTCOLOR4 = 3813
  137. Global Const $TMT_GRADIENTCOLOR5 = 3814
  138. Global Const $TMT_GRADIENTINACTIVECAPTION = 1629
  139. Global Const $TMT_GRAYTEXT = 1618
  140. Global Const $TMT_HEADING1TEXTCOLOR = 3825
  141. Global Const $TMT_HEADING2TEXTCOLOR = 3826
  142. Global Const $TMT_HIGHLIGHT = 1614
  143. Global Const $TMT_HIGHLIGHTTEXT = 1615
  144. Global Const $TMT_HOTTRACKING = 1627
  145. Global Const $TMT_INACTIVEBORDER = 1612
  146. Global Const $TMT_INACTIVECAPTION = 1604
  147. Global Const $TMT_INACTIVECAPTIONTEXT = 1620
  148. Global Const $TMT_INFOBK = 1625
  149. Global Const $TMT_INFOTEXT = 1624
  150. Global Const $TMT_LIGHT3D = 1623
  151. Global Const $TMT_MENU = 1605
  152. Global Const $TMT_MENUBAR = 1631
  153. Global Const $TMT_MENUHILIGHT = 1630
  154. Global Const $TMT_MENUTEXT = 1608
  155. Global Const $TMT_SCROLLBAR = 1601
  156. Global Const $TMT_SHADOWCOLOR = 3815
  157. Global Const $TMT_TEXTBORDERCOLOR = 3817
  158. Global Const $TMT_TEXTCOLOR = 3803
  159. Global Const $TMT_TEXTCOLORHINT = 3824
  160. Global Const $TMT_TEXTSHADOWCOLOR = 3818
  161. Global Const $TMT_TRANSPARENTCOLOR = 3809
  162. Global Const $TMT_WINDOW = 1606
  163. Global Const $TMT_WINDOWFRAME = 1607
  164. Global Const $TMT_WINDOWTEXT = 1609
  165. ; *Stream
  166. Global Const $TMT_ATLASIMAGE = 8000
  167. ; *Enum
  168. Global Const $TMT_BGTYPE = 4001
  169. Global Const $TMT_BORDERTYPE = 4002
  170. Global Const $TMT_CONTENTALIGNMENT = 4006
  171. Global Const $TMT_FILLTYPE = 4003
  172. Global Const $TMT_GLYPHTYPE = 4012
  173. Global Const $TMT_GLYPHFONTSIZINGTYPE = 4014
  174. Global Const $TMT_HALIGN = 4005
  175. Global Const $TMT_ICONEFFECT = 4009
  176. Global Const $TMT_IMAGELAYOUT = 4011
  177. Global Const $TMT_IMAGESELECTTYPE = 4013
  178. Global Const $TMT_OFFSETTYPE = 4008
  179. Global Const $TMT_SIZINGTYPE = 4004
  180. Global Const $TMT_TEXTSHADOWTYPE = 4010
  181. Global Const $TMT_TRUESIZESCALINGTYPE = 4015
  182. Global Const $TMT_VALIGN = 4007
  183. ; *Filename
  184. Global Const $TMT_GLYPHIMAGEFILE = 3008
  185. Global Const $TMT_IMAGEFILE = 3001
  186. Global Const $TMT_IMAGEFILE1 = 3002
  187. Global Const $TMT_IMAGEFILE2 = 3003
  188. Global Const $TMT_IMAGEFILE3 = 3004
  189. Global Const $TMT_IMAGEFILE4 = 3005
  190. Global Const $TMT_IMAGEFILE5 = 3006
  191. Global Const $TMT_SCALEDBACKGROUND = 7001
  192. ; *Font
  193. Global Const $TMT_BODYFONT = 809
  194. Global Const $TMT_CAPTIONFONT = 801
  195. Global Const $TMT_GLYPHFONT = 2601
  196. Global Const $TMT_HEADING1FONT = 807
  197. Global Const $TMT_HEADING2FONT = 808
  198. Global Const $TMT_ICONTITLEFONT = 806
  199. Global Const $TMT_MENUFONT = 803
  200. Global Const $TMT_MSGBOXFONT = 805
  201. Global Const $TMT_SMALLCAPTIONFONT = 802
  202. Global Const $TMT_STATUSFONT = 804
  203. ; *Int
  204. Global Const $TMT_ALPHALEVEL = 2402
  205. Global Const $TMT_ALPHATHRESHOLD = 2415
  206. Global Const $TMT_ANIMATIONDELAY = 2428
  207. Global Const $TMT_ANIMATIONDURATION = 5006
  208. Global Const $TMT_BORDERSIZE = 2403
  209. Global Const $TMT_CHARSET = 403
  210. Global Const $TMT_COLORIZATIONCOLOR = 2431
  211. Global Const $TMT_COLORIZATIONOPACITY = 2432
  212. Global Const $TMT_FRAMESPERSECOND = 2426
  213. Global Const $TMT_FROMHUE1 = 1801
  214. Global Const $TMT_FROMHUE2 = 1802
  215. Global Const $TMT_FROMHUE3 = 1803
  216. Global Const $TMT_FROMHUE4 = 1804
  217. Global Const $TMT_FROMHUE5 = 1805
  218. Global Const $TMT_GLOWINTENSITY = 2429
  219. Global Const $TMT_GLYPHINDEX = 2418
  220. Global Const $TMT_GRADIENTRATIO1 = 2406
  221. Global Const $TMT_GRADIENTRATIO2 = 2407
  222. Global Const $TMT_GRADIENTRATIO3 = 2408
  223. Global Const $TMT_GRADIENTRATIO4 = 2409
  224. Global Const $TMT_GRADIENTRATIO5 = 2410
  225. Global Const $TMT_HEIGHT = 2417
  226. Global Const $TMT_IMAGECOUNT = 2401
  227. Global Const $TMT_MINCOLORDEPTH = 1301
  228. Global Const $TMT_MINDPI1 = 2420
  229. Global Const $TMT_MINDPI2 = 2421
  230. Global Const $TMT_MINDPI3 = 2422
  231. Global Const $TMT_MINDPI4 = 2423
  232. Global Const $TMT_MINDPI5 = 2424
  233. Global Const $TMT_OPACITY = 2430
  234. Global Const $TMT_PIXELSPERFRAME = 2427
  235. Global Const $TMT_PROGRESSCHUNKSIZE = 2411
  236. Global Const $TMT_PROGRESSSPACESIZE = 2412
  237. Global Const $TMT_ROUNDCORNERHEIGHT = 2405
  238. Global Const $TMT_ROUNDCORNERWIDTH = 2404
  239. Global Const $TMT_SATURATION = 2413
  240. Global Const $TMT_TEXTBORDERSIZE = 2414
  241. Global Const $TMT_TEXTGLOWSIZE = 2425
  242. Global Const $TMT_TOCOLOR1 = 2006
  243. Global Const $TMT_TOCOLOR2 = 2007
  244. Global Const $TMT_TOCOLOR3 = 2008
  245. Global Const $TMT_TOCOLOR4 = 2009
  246. Global Const $TMT_TOCOLOR5 = 2010
  247. Global Const $TMT_TOHUE1 = 1806
  248. Global Const $TMT_TOHUE2 = 1807
  249. Global Const $TMT_TOHUE3 = 1808
  250. Global Const $TMT_TOHUE4 = 1809
  251. Global Const $TMT_TOHUE5 = 1810
  252. Global Const $TMT_TRUESIZESTRETCHMARK = 2419
  253. Global Const $TMT_WIDTH = 2416
  254. ; *IntList
  255. Global Const $TMT_TRANSITIONDURATIONS = 6000
  256. ; *Margins
  257. Global Const $TMT_CAPTIONMARGINS = 3603
  258. Global Const $TMT_CONTENTMARGINS = 3602
  259. Global Const $TMT_SIZINGMARGINS = 3601
  260. ; *Position
  261. Global Const $TMT_MINSIZE = 3403
  262. Global Const $TMT_MINSIZE1 = 3404
  263. Global Const $TMT_MINSIZE2 = 3405
  264. Global Const $TMT_MINSIZE3 = 3406
  265. Global Const $TMT_MINSIZE4 = 3407
  266. Global Const $TMT_MINSIZE5 = 3408
  267. Global Const $TMT_NORMALSIZE = 3409
  268. Global Const $TMT_OFFSET = 3401
  269. Global Const $TMT_TEXTSHADOWOFFSET = 3402
  270. ; *Rect
  271. Global Const $TMT_ANIMATIONBUTTONRECT = 5005
  272. Global Const $TMT_ATLASRECT = 8002
  273. Global Const $TMT_CUSTOMSPLITRECT = 5004
  274. Global Const $TMT_DEFAULTPANESIZE = 5002
  275. ; *Size
  276. Global Const $TMT_CAPTIONBARHEIGHT = 1205
  277. Global Const $TMT_CAPTIONBARWIDTH = 1204
  278. Global Const $TMT_MENUBARHEIGHT = 1209
  279. Global Const $TMT_MENUBARWIDTH = 1208
  280. Global Const $TMT_PADDEDBORDERWIDTH = 1210
  281. Global Const $TMT_SCROLLBARHEIGHT = 1203
  282. Global Const $TMT_SCROLLBARWIDTH = 1202
  283. Global Const $TMT_SIZINGBORDERWIDTH = 1201
  284. Global Const $TMT_SMCAPTIONBARHEIGHT = 1207
  285. Global Const $TMT_SMCAPTIONBARWIDTH = 1206
  286. ; *String
  287. Global Const $TMT_ALIAS = 1404
  288. Global Const $TMT_ATLASINPUTIMAGE = 8001
  289. Global Const $TMT_AUTHOR = 604
  290. Global Const $TMT_CLASSICVALUE = 3202
  291. Global Const $TMT_COLORSCHEMES = 401
  292. Global Const $TMT_COMPANY = 603
  293. Global Const $TMT_COPYRIGHT = 605
  294. Global Const $TMT_CSSNAME = 1401
  295. Global Const $TMT_DESCRIPTION = 608
  296. Global Const $TMT_DISPLAYNAME = 601
  297. Global Const $TMT_LASTUPDATED = 1403
  298. Global Const $TMT_SIZES = 402
  299. Global Const $TMT_TEXT = 3201
  300. Global Const $TMT_TOOLTIP = 602
  301. Global Const $TMT_URL = 606
  302. Global Const $TMT_VERSION = 607
  303. Global Const $TMT_XMLNAME = 1402
  304. Global Const $TMT_NAME = 600
  305. ; ===============================================================================================================================