Cycling74 / min-devkit

Tools, documentation, and reference implementation of a Max Package built using the Min-API.
MIT License
156 stars 30 forks source link

Mousedragdelta message implementation makes the UI element hide the mouse. There's no way to make it visible like it is in matrixctrl? #207

Open yeswecan opened 1 year ago

yeswecan commented 1 year ago

Is your feature request related to a problem? Please describe. Hey everyone! I'm trying to implement a UI element similar to matrixctrl and I'm struggling to make the mouse visible while I'm dragging the mouse over the UI element. If I don't implement the mousedragdelta, the mousemove doesn't get hit after I press the mouse, so I can't get info on the mouse position after it is pressed. If I use the "delta", the mouse is hidden like in Slider but not like matrixctrl.

Describe the solution you'd like A way to unhide the mouse would do. I tried to find a way to unhide it but no luck yet. Also, the documentation doesn't seem to say anything on that.

Describe alternatives you've considered The alternative for me in my UI element would be to draw my own mouse while the dragging is happening which I think is not a great user experience.

Additional context You can compare the mouse behaviour in matrixctrl and in slider to see what I mean.

piotrus04 commented 8 months ago

yes we can ! same for me... waiting some info about it