Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_getyposn()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_GETYPOSN()


Syntax:        L_GETYPOSN()


Purpose:       To determine the vertical position of the mouse cursor.


Arguments:     None.


Returns:       An integer value of the mouse cursor position.


Usage:         Useful for determining if the mouse is in a particular
               area before deciding for example to hide or display the
               cursor.
               Useful in conjunction with L_GETXPOSN()


Examples:      * Where on the vertical axis is the mouse now ?
               row = L_GETYPOSN()/8
               IF (row < 6)
                    L_HIDECURS()
               ELSE
                    L_SHOWCURS()
               ENDIF


Language:      Assembler

See Also: L_GETXPOSN() L_SETMPOSN()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson