Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>_mclipset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _mClipSet()
 Set the mouse clipping region
------------------------------------------------------------------------------
 C Prototype

     #include "llibg.api"
     ERRCODE _mClipSet(
                        LLG_LPRECT lpClipRectSet
                      )

 Arguments

     lpClipRectSet is a pointer to an LLG_RECT structure that you must
     allocate and initialize prior to calling this function.  _mClipSet()
     uses the members of this structure to set the current mouse clipping
     region.

 Returns

     SUCCESS if successful; otherwise, an error code.

 Description

     _mClipSet() and _mClipErase() control mouse pointer movements.  You use
     _mClipSet() to restrict movement to a rectangular area of the screen,
     called a clipping region.  When a clipping region is defined and the
     user tries to move the mouse pointer out of the rectangle, the mouse
     pointer remains stuck at the edge of the region but is still visible.
     Then, when the clipping region is no longer needed, you use
     _mClipErase() to remove it and resume using the entire screen.

     Note:  To retrieve the current mouse clipping region without
     changing it, call _mClipGet().

 Files   Library is LLIBG.LIB, header file is Llibg.api.


See Also: _mClipErase() _mClipGet() _gClipSet() LLG_RECT

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