By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,442 Members | 1,368 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,442 IT Pros & Developers. It's quick & easy.

freeze mouse when click is down

P: n/a

Hi everyone-

I have built a simple map navigation system where a user can move
around a map, and I have set limits on how far the user can drag an
image around. What I'd like to be able to do is if the image is
dragged to it's edge, I'd like to freeze the mouse cursor if the user
tries to move it any further while the mouse button is down. I don't
just want to freeze the image, because what happens is the image
freezes and the user inevitably drags the cursor outside of the
image. So instead, I'd like to freeze both the image, and the mouse
cursor. Is this possible?

Thanks,
Dino

Oct 17 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Oct 17, 4:13 pm, dino d. wrote:
<snip>
... , I'd like to freeze the mouse cursor if the user
tries to move it any further while the mouse button is down.
<snip>
... , I'd like to freeze both the image, and the mouse
cursor. Is this possible?
No.
Oct 17 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.