I don't care, if it's its own god damn proc, but PLEASE allow us to detect when we're moving the mouse whilst holding down the >RIGHT< (OR ANY OTHER FOR THAT MATTER) mouse button.
MouseDrag: Only when holding left
MouseEntered: Only when holding none
MouseMove: Only when holding none
Heck, personally, I'd make it so that MouseMove was called regardless, since it makes sense, but whatever works.
ID:1997219
![]() Dec 13 2015, 2:52 am
|
|||||||
| |||||||
![]() Dec 13 2015, 11:35 am
|
|
MouseDrag does work with the right button, if you disable the default right-click popup.
|
I've noticed that a lot of people don't know that you have to disable this first to get it to work. Maybe we could try adding something helpful on that subject in the Help menu inside of DM? Under mouse controls, just a line that says something like, "To be able to use the right mouse button for clicking, dragging, etc; client.show_popup_menus must be set to 0."
show_popup_menus is linked to in the Help reference from some mouse controls, but doesn't seem to be actually mentioned as a requirement when using the right mouse button. I think a little clarity would be helpful. Lol. |
If client.show_popup_menus==0, then right-clicks will instead be passed to the various mouse functions. |
Which one was that under? I didn't see it.
EDIT: Oh, that's inside of show_popup_menus though. I meant a line inside of something like Click() where when someone is reading it, they know they have to disable it to use the right mouse button. It doesn't seem like many people know what show_popup_menus is in the first place. Just trying to be helpful and give some clarity for new devs. |
Clarity would be nice but it should be already clear that you'd need to disable the context menu. (Implied fact)
|
You would be surprised the number of people who don't know that's even an option. And it's not always obvious. Its obvious in hindsight, but only once you understand what the problem actually is.
|
Indeed. I had no idea this existed, but more importantly, even if I did I wouldn't have expected it to "enable" this functionality. Moving it into the ref under the other mouse procs would be a good move.
|
It's enabled by default, which is why it causes the problems it does. When people don't know the option exists, they don't know how to turn it off. Haha.
|