[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-Modules] Toolbox Problems



I am writing a small utility and I need to be able to change the mouse position.  For some reason
MacPerl seems to be restoring the correct location every time I change it.  My code is:

# Begin Code

use LowMem;
use QuickDraw;

$pt = new Point;

# Come up with some values for point, you don't need to see this.  Rest assured that the values
are there and not equal to the mouse location.

LMSetMouseLocation $pt;

# End Code

The mouse briefly flashes to the new location, then snaps back.  I have also tried
LMSetRawMouseLocation, but that doesn't seem to do anything at all.

Any suggestions?

-Jules
__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-modules-request@macperl.org