home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Database / CLIPR503.W96 / BUTTON.C_ / BUTTON.C
Text File  |  1995-06-26  |  2KB  |  82 lines

  1. /*
  2.    button.ch
  3.    CA-Clipper button constants
  4.  
  5.    Copyright (c) 1994 Computer Associates, International; All rights reserved.
  6.  
  7. */
  8.  
  9. #ifndef _BUTTON_DEFINED
  10.  
  11. /* scroll bar orientation constants */
  12. #define SCROLL_VERTICAL         1
  13. #define SCROLL_HORIZONTAL       2
  14.  
  15. /* menu constants */
  16. #define MENU_SEPARATOR          ( CHR(196) )
  17.  
  18. // double line left and right, Double Separator for popup menu
  19. #define SEPARATOR_DOUBLE ( CHR(204) + CHR(205) + CHR(185) )
  20.  
  21. // Single Separator for popup menu
  22. #define SEPARATOR_SINGLE ( CHR(195) + MENU_SEPARATOR + CHR(180) )
  23.  
  24. // Double line left and right, Single Separator for popup menu
  25. #define SEPARATOR_DOUBLE_SINGLE ( CHR(199) + MENU_SEPARATOR + CHR(182) )
  26.  
  27. /* hit test return value constants */
  28.  
  29. #define HTNOWHERE                0
  30.  
  31. #define HTTOPLEFT               -1
  32. #define HTTOP                   -2
  33. #define HTTOPRIGHT              -3
  34. #define HTRIGHT                 -4
  35. #define HTBOTTOMRIGHT           -5
  36. #define HTBOTTOM                -6
  37. #define HTBOTTOMLEFT            -7
  38. #define HTLEFT                  -8
  39.  
  40. #define HTBORDERFIRST           -8
  41. #define HTBORDERLAST            -1
  42.  
  43. #define HTCAPTION               -1025
  44.  
  45. #define HTCLIENT                -2049
  46.  
  47. #define HTSCROLLTHUMBDRAG       -3073
  48. #define HTSCROLLUNITDEC         -3074
  49. #define HTSCROLLUNITINC         -3075
  50. #define HTSCROLLBLOCKDEC        -3076
  51. #define HTSCROLLBLOCKINC        -3077
  52.  
  53. #define HTSCROLLFIRST           -3077
  54. #define HTSCROLLLAST            -3073
  55.  
  56. #define HTDROPBUTTON            -4097
  57. #define HTSEPARATOR             -4098
  58.  
  59. #define HTCELL                  -5121
  60. #define HTHEADING               -5122
  61. #define HTFOOTING               -5123
  62. #define HTHEADSEP               -5124
  63. #define HTFOOTSEP               -5125
  64. #define HTCOLSEP                -5126
  65.  
  66. #define HTMENU                  -6145
  67. #define HTSIZE                    -6146
  68. #define HTMINBUTTON             -6147
  69. #define HTMAXBUTTON             -6148
  70. #define HTGROWBOX            HTSIZE
  71. #define HTREDUCE            HTMINBUTTON
  72. #define HTZOOM                HTMAXBUTTON
  73.  
  74.  
  75. #define _BUTTON_DEFINED
  76. #endif
  77.  
  78.  
  79. /*──────────────────────────────────────────────────────────────────────────*/
  80. /*──────────────────────────────────────────────────────────────────────────*/
  81. 
  82.