Forums > MaxMSP

Standalone–any way to lock window size?

December 22, 2010 | 11:26 pm

Hello,
Is there any way to "lock" the size of a standalone’s presentation window, so that the user can’t drag it bigger or smaller?

And furthermore, I’m curious about something like "Endless", by Giorgio Sancristoforo–clearly made in Max, but what further sort of programming would allow a Max-originated standalone to function like that, i.e. a fixed window size, nothing in the upper menu items allowing to open the Max window, etc. etc.?

Thanks


December 23, 2010 | 12:29 am

P.S.–I am using a thispatcher object, sending it the messages "window getflags, window flags nogrow, window flags noclose". I am triggering that message to the thispatcher with a loadbang. The patch is set to open in presentation mode. Still, when I save as a standalone app (or save the patcher for that matter) upon opening it I can still expand and shrink the window. A little help please? Must be something simple!


December 23, 2010 | 9:23 am

After you set the window’s flags, don’t forget to send a window exec to thispatcher.


December 23, 2010 | 4:10 pm

To get rid of specific menu items, you can modify the maxinterface.json file included with the standalone. Search the forum for maxinterface.json and you will find many posts with tips on how to modify it…


December 23, 2010 | 6:59 pm

Thanks Guys!
Yeah, I totally missed the window exec message. Examining maxinterface.json now . . . .
Happy holidays!


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