Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 RAT_AREA() Limits the mouse to a rectangular area of the
 screen

 Returns
 None

 Syntax
 RAT_AREA(nTop,nLeft,nBottom,nRight)

 Description
 Limits the mouse to a rectangular area of the screen
 determined by <nTop,nLeft,nBottom,nRight>. Mouse cannot move
 outside of these boundaries.

 Examples
  RAT_AREA(10,10,20,20) // limits the mouse to 10,10,20,20
 area

 Notes:
 Be sure to set the mouse area back to fullscreen when
 you're done.

 Source: S_MOUSE.ASM

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