hidecursor limitation

jvkr's icon

When a hidecursor is executed while scrolling a numborbox, a showcursor won't be able to get back the cursor again.

Max Patch
Copy patch and select New From Clipboard in Max.

_
johan

seejayjames's icon

Along those lines, it might be good to have an object or command to Max which reports a 1 when the mouse is being used in a UI element, to gate things like "hidecursor" or any key commands which otherwise may get swallowed by the object (like number boxes).

A combination of mousestate and hover would do it, but if there's that flag somewhere anyways, it might be nice to have access. This would let you reset some state when mouseup happens after an interaction, or send "select" to thispatcher to take away key focus from various objects.