Posted by webmaster Guido on February 15, 2007
In Reply to Code and skinning posted by Graham J Hadlington on
February 14, 2007
I have a shape (rectangle) on a form: When the user enters this rectangle his/her mouse is locked
until a random number is generated into some textboxes at random times.
The mouse must turn into a hand-shape mouse too.
A few questions before we give it a try:
1. Do you want to start locking the mouse cursor from the moment that the cursor is over the rectangle, or do you want the locking to start after there was a mouse click in the rectangle?
2. By "mouse is locked" do you mean: the cursor should be locked in one place, or should its movements be limited to the bounds of the rectangle?
Related articles
Follow Ups