Cursor limit
David McFarlane
mcfarla9 at msu.edu
Fri Feb 11 17:57:31 UTC 2011
Francesco,
Stock reminder: 1) I do not work for PST. 2) PST's trained staff
takes any and all questions at
http://support.pstnet.com/e%2Dprime/support/login.asp , and they
strive to respond to all requests in 24-48 hours -- this is pretty
much their substitute for proper documentation, so make full use of
it. 3) If you do get an answer from PST Web Support, please extend
the courtesy of posting their reply back here for the sake of others.
That said, here is my take...
No simple "method" that will do this for you. You would have to use
some inline code to examine mouse movements, translate those to the
desired mouse coordinates, and then move the mouse cursor there,
taking advantage of things like Mouse.GetCursorPos and
Mouse.SetCursorPos (see the MouseDevice topic in the online E-Basic
Help). Of course, then your code would be fighting with the OS's own
mouse handler, so I don't know how smooth the results would be --
otherwise, you would have to hide the actual mouse cursor and draw
your own as needed.
Good luck,
-- David McFarlane, Professional Faultfinder
>I want participants to move the mouse only on an oblique line.
>Is there a method to constrain the cursor limit in such a way?
>
>thanks.
>
>Francesco
>PhD student
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
More information about the Eprime
mailing list