BorderConstants.au3 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #include-once
  2. ; #INDEX# =======================================================================================================================
  3. ; Title .........: Border_Constants
  4. ; AutoIt Version : 3.3.14.5
  5. ; Language ......: English
  6. ; Description ...: Constants for _WinAPI_DrawEdge().
  7. ; Author(s) .....: Gary Frost
  8. ; ===============================================================================================================================
  9. ; #CONSTANTS# ===================================================================================================================
  10. Global Const $BDR_RAISEDINNER = 0x4
  11. Global Const $BDR_RAISEDOUTER = 0x1
  12. Global Const $BDR_SUNKENINNER = 0x8
  13. Global Const $BDR_SUNKENOUTER = 0x2
  14. Global Const $EDGE_BUMP = BitOR($BDR_RAISEDOUTER, $BDR_SUNKENINNER)
  15. Global Const $EDGE_ETCHED = BitOR($BDR_SUNKENOUTER, $BDR_RAISEDINNER)
  16. Global Const $EDGE_RAISED = BitOR($BDR_RAISEDOUTER, $BDR_RAISEDINNER)
  17. Global Const $EDGE_SUNKEN = BitOR($BDR_SUNKENOUTER, $BDR_SUNKENINNER)
  18. ; Type of Border
  19. Global Const $BF_ADJUST = 0x2000
  20. Global Const $BF_BOTTOM = 0x8
  21. Global Const $BF_DIAGONAL = 0x10
  22. Global Const $BF_FLAT = 0x4000
  23. Global Const $BF_LEFT = 0x1
  24. Global Const $BF_MIDDLE = 0x800
  25. Global Const $BF_MONO = 0x8000
  26. Global Const $BF_RIGHT = 0x4
  27. Global Const $BF_SOFT = 0x1000
  28. Global Const $BF_TOP = 0x2
  29. Global Const $BF_BOTTOMLEFT = BitOR($BF_BOTTOM, $BF_LEFT)
  30. Global Const $BF_BOTTOMRIGHT = BitOR($BF_BOTTOM, $BF_RIGHT)
  31. Global Const $BF_TOPLEFT = BitOR($BF_TOP, $BF_LEFT)
  32. Global Const $BF_TOPRIGHT = BitOR($BF_TOP, $BF_RIGHT)
  33. Global Const $BF_RECT = BitOR($BF_LEFT, $BF_TOP, $BF_RIGHT, $BF_BOTTOM)
  34. Global Const $BF_DIAGONAL_ENDBOTTOMLEFT = BitOR($BF_DIAGONAL, $BF_BOTTOM, $BF_LEFT)
  35. Global Const $BF_DIAGONAL_ENDBOTTOMRIGHT = BitOR($BF_DIAGONAL, $BF_BOTTOM, $BF_RIGHT)
  36. Global Const $BF_DIAGONAL_ENDTOPLEFT = BitOR($BF_DIAGONAL, $BF_TOP, $BF_LEFT)
  37. Global Const $BF_DIAGONAL_ENDTOPRIGHT = BitOR($BF_DIAGONAL, $BF_TOP, $BF_RIGHT)
  38. ; ===============================================================================================================================