Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

Cursor control problem.

Hey experts,

     I've got a question.... How do you enable a cursor to move in a straight line after clicking a button? Click the same button again.... the cursor is free to move everywhere. Thanks in advance....
0
stfu8888
Asked:
stfu8888
1 Solution
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
Try the ClipCursor() API.  There is an example at the bottom of this page:

http://www.mentalis.org/apilist/ClipCursor.shtml

Regards,

Idle_Mind
0
 
stfu8888Author Commented:
Idle_Mind,

     Excellento! Thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now