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.?
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!
After you set the window’s flags, don’t forget to send a window exec to thispatcher.
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…
Yeah, I totally missed the window exec message. Examining maxinterface.json now . . . .
C74 RSS Feed | © Copyright Cycling '74