home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / FOXPRO / FCT1_12 / FC_MOUSE.HDR < prev    next >
Text File  |  1990-09-28  |  4KB  |  200 lines

  1. #output Force Tools 1.1 - Mouse functions
  2.  
  3. **************************************
  4. * IsMouse()
  5. *
  6. * Return .T. if mousedriver installed
  7. *
  8. FUNCTION LOGICAL IsMouse PROTOTYPE
  9.  
  10. ***************************************
  11. * m_Button()
  12. *
  13. * Return the number of mouse button's
  14. * -1 = No mouse installed
  15. * 0  = Other value then 2
  16. * 2  = 2 Buttons
  17. * 3  = Mouse Systems Mouse
  18. *
  19. FUNCTION INT m_Button PROTOTYPE
  20.  
  21. ***************************************
  22. * m_Cursor(<Logical>)
  23. *
  24. * Show / Hide mouse Cursor
  25. * .T. = Show cursor
  26. * .F. = Hide Cursor
  27. *
  28. PROCEDURE M_Cursor PROTOTYPE
  29.    PARAMS VALUE LOGICAL
  30.    
  31. ***************************************
  32. * m_Col(<INT>)
  33. *
  34. * Get / Set current mouse column
  35. * Para: -1 = No Change
  36. *
  37. FUNCTION INT m_Col PROTOTYPE
  38.    PARAMS VALUE INT
  39.    
  40. ***************************************
  41. * m_Row(<INT>)
  42. *
  43. * Get / Set  current mouse row
  44. * Para: -1 = No Change
  45. *
  46. FUNCTION INT m_Row PROTOTYPE
  47.    PARAMS VALUE INT
  48.    
  49. ***************************************
  50. * m_Region(<UINT, UINT, UINT, UINT>)
  51. *
  52. * Check if the mouse cursor is in the
  53. * specified region
  54. *
  55. FUNCTION LOGICAL M_Region PROTOTYPE
  56.    PARAMS VALUE UINT, VALUE UINT, VALUE UINT, VALUE UINT
  57.    
  58. ***************************************
  59. * m_Window(<UINT, UINT, UINT, UINT>)
  60. *
  61. * Define mouse cursor window
  62. *
  63. PROCEDURE  M_Window PROTOTYPE
  64.    PARAMS VALUE UINT, VALUE UINT, VALUE UINT, VALUE UINT
  65.  
  66. ***************************************
  67. * IsButton(<UINT>)
  68. *
  69. * Return .T. if the desired button has
  70. * been pressed
  71. *
  72. * Para : 0 = Any button
  73. *        1 = Left button
  74. *        2 = Right button
  75. *        3 = Middle button (Mouse System Only)
  76. *
  77. FUNCTION LOGICAL IsButton PROTOTYPE
  78.    PARAMS VALUE UINT
  79.    
  80. ***************************************
  81. * DelayButton(<UINT>)
  82. *
  83. * Wait for the specified button to be
  84. * pressed
  85. *
  86. * Para : 0 = Any button
  87. *        1 = Left button
  88. *        2 = Right button
  89. *        3 = Middle button (Mouse System Only)
  90. *
  91. PROCEDURE  DelayButton PROTOTYPE
  92.    PARAMS VALUE UINT
  93.    
  94. ***************************************
  95. * WaitButton(<UINT>)
  96. *
  97. * Wait for the specified button to be
  98. * released
  99. *
  100. * Para : 0 = Any button
  101. *        1 = Left button
  102. *        2 = Right button
  103. *        3 = Middle button (Mouse System Only)
  104. *
  105. PROCEDURE  WaitButton PROTOTYPE
  106.    PARAMS VALUE UINT   
  107.  
  108. ***************************************
  109. * m_InCol(<UINT>)
  110. *
  111. * Return colomn at time specified button  
  112. * was last pressed
  113. *
  114. * Para : 1 = Left button
  115. *        2 = Right button
  116. *        3 = Middle button (Mouse System Only)
  117. *
  118. FUNCTION UINT m_InCol PROTOTYPE
  119.    PARAMS VALUE UINT   
  120.  
  121. ***************************************
  122. * m_InRow(<UINT>)
  123. *
  124. * Return row at time specified button  
  125. * was last pressed
  126. *
  127. * Para : 1 = Left button
  128. *        2 = Right button
  129. *        3 = Middle button (Mouse System Only)
  130. *
  131. FUNCTION UINT m_InRow PROTOTYPE
  132.    PARAMS VALUE UINT
  133.    
  134. ***************************************
  135. * m_InCnt(<UINT>)
  136. *
  137. * Return number of times specified button
  138. * has been pressed since last call
  139. *
  140. * Para : 1 = Left button
  141. *        2 = Right button
  142. *        3 = Middle button (Mouse System Only)
  143. *
  144. FUNCTION UINT m_InCnt PROTOTYPE
  145.    PARAMS VALUE UINT
  146.    
  147. ***************************************
  148. * m_RlCol(<UINT>)
  149. *
  150. * Return colomn at time specified button  
  151. * was last released
  152. *
  153. * Para : 1 = Left button
  154. *        2 = Right button
  155. *        3 = Middle button (Mouse System Only)
  156. *
  157. FUNCTION UINT m_RlCol PROTOTYPE
  158.    PARAMS VALUE UINT   
  159.  
  160. ***************************************
  161. * m_RlRow(<UINT>)
  162. *
  163. * Return row at time specified button  
  164. * was last released
  165. *
  166. * Para : 1 = Left button
  167. *        2 = Right button
  168. *        3 = Middle button (Mouse System Only)
  169. *
  170. FUNCTION UINT m_RlRow PROTOTYPE
  171.    PARAMS VALUE UINT
  172.    
  173. ***************************************
  174. * m_RlCnt(<UINT>)
  175. *
  176. * Return number of times specified button
  177. * has been released since last call
  178. *
  179. * Para : 1 = Left button
  180. *        2 = Right button
  181. *        3 = Middle button (Mouse System Only)
  182. *
  183. FUNCTION UINT m_RlCnt PROTOTYPE
  184.    PARAMS VALUE UINT      
  185.    
  186. ***************************************
  187. * m_VerMick()
  188. *
  189. * Return vertical mickey count
  190. *
  191. FUNCTION INT m_VerMick PROTOTYPE
  192.  
  193. ***************************************
  194. * m_HorMick()
  195. *
  196. * Return horizontally mickey count
  197. *
  198. FUNCTION INT m_HorMick PROTOTYPE
  199.  
  200. * eof - fc_mouse.hdr