Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 830 Bytes

ClipCursor.md

File metadata and controls

40 lines (27 loc) · 830 Bytes

Home

Function name : ClipCursor

Group: Cursor - Library: user32


Confines the cursor to a rectangular area on the screen.


Code examples:

Clipping mouse cursor area

Declaration:

BOOL ClipCursor(
  CONST RECT *lpRect  // screen coordinates
);  

FoxPro declaration:

DECLARE SHORT ClipCursor IN user32 STRING lpRect  

Parameters:

lpRect [in] Pointer to the RECT structure that contains the screen coordinates of the upper-left and lower-right corners of the confining rectangle.


Return value:

If the function succeeds, the return value is nonzero.