07-12-2007, 01:17 PM
Function ClipCursor restricts mouse to inside a simple rectangle. To do what you need, I would use hooks, like with BlockInput2 function.
To do calculations, I would use functions:
PtInRect
PtInRegion
other region functions
They are documented in the MSDN Library.
To do calculations, I would use functions:
PtInRect
PtInRegion
other region functions
They are documented in the MSDN Library.
