Luca Olivetti wrote:
En/na Lord Satan ha escrit:
Hi,

I need to hide the mouse cursor in my app. Changing it with Screen.Cursor:=crSomething works, setting it to crNone does not have any effect. Any ideas?
Btw this is on Linux, gtk1.

I use the trick to move it offscreen, e.g.:

procedure TMainForm.HideMouse;
const p:TPoint = (X:15000; Y:15000);
begin
     Mouse.CursorPos:=p;
end;

That's a nasty hack. It could really mess with programs that try to track the mouse or somesuch. It's not a good way to proceed.

--
Med venlig hilsen
Christian Iversen

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to