hidecursor limitation

Aug 31, 2009 at 7:21am

hidecursor limitation

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

– Pasted Max Patch, click to expand. –

_
johan

#45282
Sep 3, 2009 at 7:48am

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.

#163200

You must be logged in to reply to this topic.