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


Syntax:        L_SETMPOSN(<expN1>,<expN2>)



Purpose:       To set the position of the mouse cursor.


Arguments:     <expN1> is the horizontal position.

               <expN2> is the vertical position.


Returns:       Nothing.


Usage:         Input values must be appropriate for the current video
               mode.  These are absolute pixel values.  Text values
               passed to this function must be multiplied by a factor
               depending upon the video mode.

               See Appendix for Mouse Horizontal & Vertical values &
               Factors.


Examples:      * Set mouse position
               horiz = 3
               vert = 42
               L_SETMPOSN((horz % 25) * 8, (vert % 80) * 8)


Language:      Assembler

See Also: L_GETXPOSN() L_GETYPOSN()

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