Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>m_setcur()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
M_SETCUR()
Sets the mouse internal values
------------------------------------------------------------------------------
Syntax:

     M_SETCUR( <cCursor>, <cScreen>,;
               <nHotX>, <nHotY>     ) --> NIL

Parameters:

     <cCursor>  Cursor Mask. 8x16 bit mask that defines the mouse cursor
     shape.
     <cScreen>  Cursor BackGround. 8x16 bit mask that defines the cursor
     background.
     <nHotX>, <nHotY> Mouse hot section coordinates.

Returns:

     NIL

Description:

     Sets the values for the mouse internal parameters.

Example:

     cCursor := CHR(128)+CHR(64)+CHR(32)+CHR(16)+;
                CHR(8)+CHR(4)+CHR(2)+CHR(1)+;
                CHR(8)+CHR(4)+CHR(2)+CHR(1)+;
                CHR(8)+CHR(4)+CHR(2)+CHR(1)
     cScreen := CHR(0)+CHR(0)+CHR(0)+CHR(0)+;
                CHR(0)+CHR(0)+CHR(0)+CHR(0)+;
                CHR(0)+CHR(0)+CHR(0)+CHR(0)+;
                CHR(0)+CHR(0)+CHR(0)+CHR(0)
     M_SETCUR( cCursor,;  // A row like "\"
               cScreen,;  // on transparent bkgr
               10, 10)    // HotSpot

See also:

     M_GETCUR()

See Also: M_GETCUR()

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