Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Mouse interface routines - <b>rdexclmouse()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 RDEXCLMOUSE()
 Select region where mouse has no action in Gets
------------------------------------------------------------------------------
 Syntax
      RDExclMouse(<nTopRow>, <nLeftCol>, <nBotRow>, <nRightCol>) -> nId
 Arguments
      <nTopRow> - the top row of the area to exclude
      <nLeftCol> - the left column of the area
      <nBotRow> - the bottom row of the area to exclude
      <nRightCol> - the right column of the area to exclude

 Returns
     <nID> which is an ID number identifying the region so that the
              region may be restored to active status with a call to
              RDREMEXCL(ID)
 Description
      This routine allows the caller to exclude gets in an area of
      the screen from being selected at the current and all lower levels.

 Examples
     nId1=RDExclMouse(10,10,15,30)   // Exclude area under a new GET/READ
     xSaveScr=SAVESCREEN(10,10,15,30)
     @ 10,10 CLEAR TO 15,30
     @ 10,10,15,30 BOX
     @ 11,12 SAY "Enter Special Code:
     cCode=SPACE(20)
     @ 12,12 GET cCode
     READ
     RDRemExcl(nId1)

 Source: MOUSEGET.PRG

 Author: Leo Letendre

See Also: RDREMEXCL() RDCURLEVEL()

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