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 >
Wrap
Text File
|
1990-09-28
|
4KB
|
200 lines
#output Force Tools 1.1 - Mouse functions
**************************************
* IsMouse()
*
* Return .T. if mousedriver installed
*
FUNCTION LOGICAL IsMouse PROTOTYPE
***************************************
* m_Button()
*
* Return the number of mouse button's
* -1 = No mouse installed
* 0 = Other value then 2
* 2 = 2 Buttons
* 3 = Mouse Systems Mouse
*
FUNCTION INT m_Button PROTOTYPE
***************************************
* m_Cursor(<Logical>)
*
* Show / Hide mouse Cursor
* .T. = Show cursor
* .F. = Hide Cursor
*
PROCEDURE M_Cursor PROTOTYPE
PARAMS VALUE LOGICAL
***************************************
* m_Col(<INT>)
*
* Get / Set current mouse column
* Para: -1 = No Change
*
FUNCTION INT m_Col PROTOTYPE
PARAMS VALUE INT
***************************************
* m_Row(<INT>)
*
* Get / Set current mouse row
* Para: -1 = No Change
*
FUNCTION INT m_Row PROTOTYPE
PARAMS VALUE INT
***************************************
* m_Region(<UINT, UINT, UINT, UINT>)
*
* Check if the mouse cursor is in the
* specified region
*
FUNCTION LOGICAL M_Region PROTOTYPE
PARAMS VALUE UINT, VALUE UINT, VALUE UINT, VALUE UINT
***************************************
* m_Window(<UINT, UINT, UINT, UINT>)
*
* Define mouse cursor window
*
PROCEDURE M_Window PROTOTYPE
PARAMS VALUE UINT, VALUE UINT, VALUE UINT, VALUE UINT
***************************************
* IsButton(<UINT>)
*
* Return .T. if the desired button has
* been pressed
*
* Para : 0 = Any button
* 1 = Left button
* 2 = Right button
* 3 = Middle button (Mouse System Only)
*
FUNCTION LOGICAL IsButton PROTOTYPE
PARAMS VALUE UINT
***************************************
* DelayButton(<UINT>)
*
* Wait for the specified button to be
* pressed
*
* Para : 0 = Any button
* 1 = Left button
* 2 = Right button
* 3 = Middle button (Mouse System Only)
*
PROCEDURE DelayButton PROTOTYPE
PARAMS VALUE UINT
***************************************
* WaitButton(<UINT>)
*
* Wait for the specified button to be
* released
*
* Para : 0 = Any button
* 1 = Left button
* 2 = Right button
* 3 = Middle button (Mouse System Only)
*
PROCEDURE WaitButton PROTOTYPE
PARAMS VALUE UINT
***************************************
* m_InCol(<UINT>)
*
* Return colomn at time specified button
* was last pressed
*
* Para : 1 = Left button
* 2 = Right button
* 3 = Middle button (Mouse System Only)
*
FUNCTION UINT m_InCol PROTOTYPE
PARAMS VALUE UINT
***************************************
* m_InRow(<UINT>)
*
* Return row at time specified button
* was last pressed
*
* Para : 1 = Left button
* 2 = Right button
* 3 = Middle button (Mouse System Only)
*
FUNCTION UINT m_InRow PROTOTYPE
PARAMS VALUE UINT
***************************************
* m_InCnt(<UINT>)
*
* Return number of times specified button
* has been pressed since last call
*
* Para : 1 = Left button
* 2 = Right button
* 3 = Middle button (Mouse System Only)
*
FUNCTION UINT m_InCnt PROTOTYPE
PARAMS VALUE UINT
***************************************
* m_RlCol(<UINT>)
*
* Return colomn at time specified button
* was last released
*
* Para : 1 = Left button
* 2 = Right button
* 3 = Middle button (Mouse System Only)
*
FUNCTION UINT m_RlCol PROTOTYPE
PARAMS VALUE UINT
***************************************
* m_RlRow(<UINT>)
*
* Return row at time specified button
* was last released
*
* Para : 1 = Left button
* 2 = Right button
* 3 = Middle button (Mouse System Only)
*
FUNCTION UINT m_RlRow PROTOTYPE
PARAMS VALUE UINT
***************************************
* m_RlCnt(<UINT>)
*
* Return number of times specified button
* has been released since last call
*
* Para : 1 = Left button
* 2 = Right button
* 3 = Middle button (Mouse System Only)
*
FUNCTION UINT m_RlCnt PROTOTYPE
PARAMS VALUE UINT
***************************************
* m_VerMick()
*
* Return vertical mickey count
*
FUNCTION INT m_VerMick PROTOTYPE
***************************************
* m_HorMick()
*
* Return horizontally mickey count
*
FUNCTION INT m_HorMick PROTOTYPE
* eof - fc_mouse.hdr