From gardiner@cssip.edu.au

CLIPEXAM - Show how to use API calls to clip cursor to windows/rectangles
There are three files here: The project, a form, and a module. 
  When run, it demos the clipping APIs in VBWIN.
