Hey there all,
If anyone knows a way to prevent the user from moving the mouse pointer over an object on a form (like a textbox, listview, etc.), it'd really help me if they posted an example.
Thanks, no matter the result,
Jason
Printable View
Hey there all,
If anyone knows a way to prevent the user from moving the mouse pointer over an object on a form (like a textbox, listview, etc.), it'd really help me if they posted an example.
Thanks, no matter the result,
Jason
Hi Jason,
Could you please exlain what you want exactly?? preventing the mouse from moving over a control can be understood and hence implemented in different ways.
Theoritically, the mouse can move anywhere on Windows desktop and the programmer should tell what should happen when resultant events occur, so -in my opinion- I don't think there's a real benefit from doing so. Anyway here are some ideas:
- Try hiding the mouse when it moves over the target object.
- Try setting the mouse movement boundries, so that it can
only move in the area you specify, be careful this will
restrict the mouse movement on your application window.
Regards,
Wesam