patcher window growbars
In the mxj help file, I noticed that the patcher window has no grow bars but it does have the grow tab at the bottom-right corner. Does anyone know how this is achieved?
Can't seem to find a thispatcher message that keeps that tab. gets rid of grow bars and grow tab. Maybe it's the setGrow(false) in the Java source that does this, and it's not possible in Max?
best,
Zachary
bump.
Someone must know this. Thanks.
best,
Zachary
The secret must lie inside mxj. Supposedly this line does it: p.getWindow().setGrow(false);
_
johan
"Maybe it's the setGrow(false) in the Java source that does this, and it's not possible in Max?"
Yeah, that's what I assumed as well. But I wonder if there is a Max equivalent w/o Java...
Zachary
(Code below) To hide the growbars you need to create a thispatcher object and then have three message boxes attached to the left inlet. The messages are:
window flags nogrow
window flags grow
window exec
Click on the nogrow message and then on the exec message. The patcher window will reform minus the growbars. Clicking on the grow message and then on the exec will cause the growbars to reappear.
To use this in a patch, in edit mode set the desired size of your patch window, click the nogrow and exec messages, and then exit edit mode (making sure that your message boxes, etc are set to be hidden in run mode).
Hope this helps.
charred,
Thanks for the help - that's not what I'm asking though. Reread my initial post, I actually describe the patch you just posted:
----------
from my first post:
"In the mxj help file, I noticed that the patcher window has no grow bars but it does have the grow tab at the bottom-right corner. Does anyone know how this is achieved?
Can't seem to find a thispatcher message that keeps that tab. gets rid of grow bars and grow tab. Maybe it's the setGrow(false) in the Java source that does this, and it's not possible in Max?"
----------
Go to the mxj helpfile to see what I'm talking about here. If you know a way to achieve this with a Max message (as opposed to with java), please let us know.