Aug 31, 2009 at 7:21am
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. –
Copy all of the following text.Then, in Max, select New From Clipboard.
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.
You must be logged in to reply to this topic.