On Mon, 20 Jun 2011 12:13:38 -0300
Leonardo M. Ramé <[email protected]> wrote:

> Hi, I've seen in some applications, in very specific cases, when the
> user drags the mouse, the pointer doesn't move.
> 
> Is there a way to lock the mouse pointer in Lazarus?.

You can move the mouse with

Mouse.CursorPos:=Point(100,100);

Setting the mouse to the coords where dragging starts looks like mouse
does not move.

Put the code in OnMouseMove.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to