Skip to content

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

@yeswecan

Description

@yeswecan

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions