[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
MLastCol()
Get the COL() of the last mouse event.
-------------------------------------------------------------------------------
Syntax:
MLastCol() --> <nCol>
Returns:
MLastCol() returns the column number of the last mouse event.
Example:
// some code
....
nKey := InterruptKey( 0 )
IF nKey == M_LEFT_BUTTON //the last key was the left mouse button
nMouseRow := MLastCol() //the mouse was on this row when it happened
nMouseCol := MLastRow() //and the mouse was on this column.
// check if the position nMouseRow, nMouseCol is a hot spot
....
....
ENDIF
Files: Library is CUACLIP.LIB.
See Also:
MLastRow()
InterruptKey()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson