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_getxposn()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_GETXPOSN()


Syntax:        L_GETXPOSN()


Purpose:       To determine the horizontal 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 highlighting a menu option.
               Useful in conjunction with L_GETYPOSN()


Examples:      * Where on the horizontal axis is the mouse now ?
               column = L_GETXPOSN()/8
               IF (column<6)
                    L_HIDECURS()
               ELSE
                    L_SHOWCURS()
               ENDIF


Language:      Assembler

See Also: L_GETYPOSN() L_SETMPOSN()

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