Visual Basic Mouse Control
Hey All
I've got my world rotating with the mouse, the only problem is that because i can't clamp the mouse to the middle of the screen the rotation continues until i return the mouse to the centre of the screen.
Can anyone help?
Thanks in advance
Well, you can use the SetCursorPos API function to manually move the mouse to a specific point. If you want to get more sophisticated and restrict the mouse to a particular rectangular area, you can use ClipCursor.
The way you use these functions depends on the version of Visual Basic you're writing code in.
The way you use these functions depends on the version of Visual Basic you're writing code in.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement