Standalone–any way to lock window size?

Dec 22, 2010 at 11:26pm

Standalone–any way to lock window size?

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

#54070
Dec 23, 2010 at 12:29am

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!

#194591
Dec 23, 2010 at 9:23am

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

#194592
Dec 23, 2010 at 4:10pm

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…

#194593
Dec 23, 2010 at 6:59pm

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

#194594

You must be logged in to reply to this topic.