In my winforms app, I have a feature that opens a dropdown menu, and you move your cursor left or right to select a sub-option. But, I don’t want the cursor to move, I just want the sub-options them selves to move left or right (depending on which direction the mouse is trying to move in). I hope this makes sense to you.
Does anyone know how to stop the cursor from moving in a particular direction, while still being able to capture mousemove events while the user “moves” the mouse?
Any help is appreciated, Thank you!
You should not try to implement this, as it breaks all user interface standards and will just confuse the user. It’s not up to your application to decide where the mouse should be able to move. If you want to implement some other way of allowing navigation selection then I would suggest investigating other options.