[<<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
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson