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>mshideat() mouse function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  MSHIDEAT()                                                  Mouse Function
 Purpose..: Hide the mouse cursor conditionally
-------------------------------------------------------------------------------
 Syntax...: MsHideAt( <nTR>, <nLC>, <nBR>, <nRC> ) --> NIL

 Arguments: <nTR> = top row.
            <nLC> = left column.
            <nBR> = bottom row.
            <nRC> = right column.

 Returns..: NIL

 Remark...: Hide the cursor only if found in the passed screen region.

 Source...: MSHIDEAT.C
-------------------------------------------------------------------------------
 Example..: The example hides the cursor while drawing on the screen
            and then turns it back on when completed. This is preferable
            to simply hiding the mouse cursor. It will not cause the mouse
            to be affected if the mouse is not found in the specified
            screen region.

          wOpen ( "SomeWin" )
          MsHideAt( 10 + wTRow(), wLCol(), 10 + wTRow(), wRCol() )
          wHBar( , 10, 2, 1, 2 )
          MsShow  ( )
          ...
          wClose( "SomeWin" )

See Also: MsHide() MsShow()

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