Forums > MaxMSP

hidecursor limitation

August 31, 2009 | 7:21 am

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. –


September 3, 2009 | 7:48 am

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.

Viewing 2 posts - 1 through 2 (of 2 total)