Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>mslimit() mouse function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  MSLIMIT()                                                   Mouse Function
 Purpose..: Limit mouse movement to a specific screen region
-------------------------------------------------------------------------------
 Syntax...: MsLimit( <nT>, <nL>, <nB>, <nR> ) --> NIL

 Arguments: <nT> = top row
            <nL> = left column
            <nB> = bottom row
            <nR> = right column

 Returns..: NIL

 Remark...: The function will cage the mouse into a specified screen
            region. It can also be used to "force" the mouse to work in
            non-standard screen modes. For example, rodents do just fine
            in 25, 43 and 50 line modes, however they do not usually
            ( depending on your mouse driver ) recognize 27, 36 and 40
            line non-standard modes. By using the function, you can
            increase the default "view" of the mouse.

 Source...: MSLIMIT.C
-------------------------------------------------------------------------------
 Example..: . The example uses MsLimit() to force the mouse to work
              in all screen modes, standard and non standard.

            MsLimit( 0, 0, frMaxRow(), frMaxCol() )

See Also: MsRow() MsCol() MsStatus() MsOpen() MsClose()

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