Results 1 to 2 of 2

Thread: How to PREVENT mouse from moving over an object??

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    4
    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

  2. #2
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width