Can I get rid of the runtime window in Windows standalones?

Mar 9, 2007 at 7:53pm

Can I get rid of the runtime window in Windows standalones?

Can I?

I hope I can, because it looks kind of ugly and unprofessional with the extra, unnecessary window frame and title bar.

#30727
Mar 9, 2007 at 8:44pm

yes – look at thispatcher.

On 3/9/07, Dag Henning Kalvøy wrote:
>
> Can I?
>
> I hope I can, because it looks kind of ugly and unprofessional with the extra, unnecessary
>window frame and title bar.
>


Michael Duffy

http://ruccas.org/wiki.pl/Michael_Duffy

#98741
Mar 9, 2007 at 11:02pm

Thanks for the response.

I’m sorry that I don’t understand you, or maybe you didn’t understand me? I am already using thispatcher for various window settings, but thispatcher controls the _patcher_ window, not the runtime window, right? I can loose the title bar and frame of the patcher at best, but I’m still stuck with the grey runtime background window. Unless you tell me how to get rid of it, that is :) The reference manual doesn’t mention it anyway, as far as I’m aware of.

The program has settings which resize the patcher window, so even if I set the runtime window to fit the patcher, it won’t follow the patcher. Again – unless you tell me how.

I’m a mac man, so maybe this question is stupid because it’s so obvious that the runtime window must be there. I do not know, therefore I ask.

#98742
Mar 10, 2007 at 5:34am

look at the object “thispatcher”‘s help file. like he said.

#98743
Mar 10, 2007 at 1:59pm

Thank you for the help.

Could you please also help me find exactly _where_ in the help file controlling the runtime window is explained? I seem to be unusually slow today.

As a demonstration of the dilemma, here come two patches and two compiled applications, one of each optimized for Mac (working perfectly), the others for Windows (not looking good because of the runtime background window).

Mac patch first:

max v2;
#N vpatcher 70 69 509 578;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 79 26 14 196617 2;
#P message 60 26 14 196617 1;
#P message 41 26 14 196617 0;
#N vpatcher 365 172 1197 767;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 630 325 66 196617 window title;
#P message 534 325 76 196617 window notitle;
#P message 37 546 159 196617 script size resize-panel 439 509;
#P message 65 495 159 196617 script size resize-panel 517 421;
#P message 51 519 159 196617 script size resize-panel 882 509;
#P newex 37 462 53 196617 sel 0 1 2;
#P window linecount 0;
#P newex 478 283 30 196617 t b b;
#P newex 478 256 48 196617 loadbang;
#P message 518 373 103 196617 window flags nozoom;
#P message 622 373 93 196617 window flags zoom;
#P message 518 410 103 196617 window flags nogrow;
#P message 622 410 93 196617 window flags grow;
#P newex 348 503 27 196617 t b l;
#P newex 228 194 27 196617 t i i;
#P newex 348 457 54 196617 pack i i i i;
#P newex 335 248 40 196617 gate 3;
#P newex 348 479 103 196617 prepend window size;
#P newex 422 412 37 196617 + 421;
#P newex 396 378 37 196617 + 509;
#P newex 331 378 37 196617 + 517;
#P newex 246 361 37 196617 + 882;
#P newex 353 354 37 196617 + 439;
#P newex 319 136 27 196617 + 1;
#P newex 286 248 40 196617 gate 3;
#P message 464 533 68 196617 window exec;
#P newex 165 156 68 196617 unpack s s i i;
#P newex 195 194 27 196617 t i i;
#N comlet from thisp;
#P inlet 165 134 15 0;
#P newex 101 73 40 196617 t i b i;
#P message 120 39 14 196617 2;
#P message 101 39 14 196617 1;
#P message 82 39 14 196617 0;
#N comlet window;
#P inlet 31 35 15 0;
#N comlet to thisp;
#P outlet 472 563 15 0;
#P message 116 448 79 196617 window getsize;
#P connect 6 0 29 0;
#P connect 29 0 32 0;
#P connect 29 1 30 0;
#P connect 29 2 31 0;
#P connect 5 0 6 0;
#P connect 4 0 6 0;
#P connect 3 0 6 0;
#P connect 2 0 6 0;
#P connect 6 1 0 0;
#P connect 7 0 9 0;
#P connect 9 2 8 0;
#P connect 9 3 21 0;
#P connect 11 1 14 0;
#P connect 12 0 11 0;
#P connect 8 1 11 1;
#P connect 6 2 12 0;
#P connect 11 2 15 0;
#P connect 12 0 19 0;
#P connect 8 0 20 0;
#P connect 20 0 18 0;
#P connect 18 0 22 0;
#P connect 11 0 13 0;
#P connect 21 0 20 1;
#P connect 21 1 19 1;
#P connect 13 0 20 2;
#P connect 14 0 20 2;
#P connect 15 0 20 2;
#P connect 16 0 20 3;
#P connect 17 0 20 3;
#P connect 19 1 16 0;
#P connect 19 0 16 0;
#P connect 19 2 17 0;
#P connect 22 0 10 0;
#P connect 28 0 10 0;
#P connect 32 0 1 0;
#P connect 31 0 1 0;
#P connect 30 0 1 0;
#P connect 0 0 1 0;
#P connect 10 0 1 0;
#P connect 22 1 1 0;
#P connect 26 0 1 0;
#P connect 24 0 1 0;
#P connect 23 0 1 0;
#P connect 25 0 1 0;
#P connect 27 0 28 0;
#P connect 28 1 26 0;
#P connect 28 1 24 0;
#P pop;
#P newobj 60 60 59 196617 p top-thisp;
#N thispatcher;
#Q end;
#P newobj 60 90 58 196617 thispatcher;
#P user panel 0 0 439 509;
#X brgb 184 255 43;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 5;
#X done;
#P objectname resize-panel;
#P connect 3 0 2 0;
#P connect 5 0 2 0;
#P connect 4 0 2 0;
#P connect 2 0 1 0;
#P connect 1 0 2 1;
#P pop;

Then slightly optimized (the best i could) for Windows:

max v2;
#N vpatcher 70 69 509 578;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 79 26 14 196617 2;
#P message 60 26 14 196617 1;
#P message 41 26 14 196617 0;
#N vpatcher 365 172 1197 767;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 630 325 66 196617 window title;
#P message 534 325 76 196617 window notitle;
#P message 37 546 159 196617 script size resize-panel 439 509;
#P message 65 495 159 196617 script size resize-panel 517 421;
#P message 51 519 159 196617 script size resize-panel 882 509;
#P newex 37 462 53 196617 sel 0 1 2;
#P window linecount 0;
#P newex 478 283 30 196617 t b b;
#P newex 478 256 48 196617 loadbang;
#P message 518 373 103 196617 window flags nozoom;
#P message 622 373 93 196617 window flags zoom;
#P message 518 410 103 196617 window flags nogrow;
#P message 622 410 93 196617 window flags grow;
#P newex 348 503 27 196617 t b l;
#P newex 228 194 27 196617 t i i;
#P newex 348 457 54 196617 pack i i i i;
#P newex 335 248 40 196617 gate 3;
#P newex 348 479 103 196617 prepend window size;
#P newex 422 412 37 196617 + 421;
#P newex 396 378 37 196617 + 509;
#P newex 331 378 37 196617 + 517;
#P newex 246 361 37 196617 + 882;
#P newex 353 354 37 196617 + 439;
#P newex 319 136 27 196617 + 1;
#P newex 286 248 40 196617 gate 3;
#P message 464 533 68 196617 window exec;
#P newex 165 156 68 196617 unpack s s i i;
#P newex 195 194 27 196617 t i i;
#N comlet from thisp;
#P inlet 165 134 15 0;
#P newex 101 73 40 196617 t i b i;
#P message 120 39 14 196617 2;
#P message 101 39 14 196617 1;
#P message 82 39 14 196617 0;
#N comlet window;
#P inlet 31 35 15 0;
#N comlet to thisp;
#P outlet 472 563 15 0;
#P message 116 448 79 196617 window getsize;
#P connect 6 0 29 0;
#P connect 29 0 32 0;
#P connect 29 1 30 0;
#P connect 29 2 31 0;
#P connect 5 0 6 0;
#P connect 4 0 6 0;
#P connect 3 0 6 0;
#P connect 2 0 6 0;
#P connect 6 1 0 0;
#P connect 7 0 9 0;
#P connect 9 2 8 0;
#P connect 9 3 21 0;
#P connect 11 1 14 0;
#P connect 12 0 11 0;
#P connect 8 1 11 1;
#P connect 6 2 12 0;
#P connect 11 2 15 0;
#P connect 12 0 19 0;
#P connect 8 0 20 0;
#P connect 20 0 18 0;
#P connect 18 0 22 0;
#P connect 11 0 13 0;
#P connect 21 0 20 1;
#P connect 21 1 19 1;
#P connect 13 0 20 2;
#P connect 14 0 20 2;
#P connect 15 0 20 2;
#P connect 16 0 20 3;
#P connect 17 0 20 3;
#P connect 19 1 16 0;
#P connect 19 0 16 0;
#P connect 19 2 17 0;
#P connect 22 0 10 0;
#P connect 28 0 10 0;
#P connect 32 0 1 0;
#P connect 31 0 1 0;
#P connect 30 0 1 0;
#P connect 0 0 1 0;
#P connect 10 0 1 0;
#P connect 22 1 1 0;
#P connect 26 0 1 0;
#P connect 24 0 1 0;
#P connect 23 0 1 0;
#P connect 25 0 1 0;
#P connect 27 0 28 0;
#P connect 28 1 26 0;
#P connect 28 1 24 0;
#P pop;
#P newobj 60 60 59 196617 p top-thisp;
#N thispatcher;
#Q end;
#P newobj 60 90 58 196617 thispatcher;
#P user panel 0 0 439 509;
#X brgb 184 255 43;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 5;
#X done;
#P objectname resize-panel;
#P connect 3 0 2 0;
#P connect 5 0 2 0;
#P connect 4 0 2 0;
#P connect 2 0 1 0;
#P connect 1 0 2 1;
#P pop;

Just to make sure everybody gets my point: I would like to get rid of the grey Max Runtime window, so the only thing I see is the full green panel. (Never mind the white Max window, I know how to quit that.)

#98744
Mar 10, 2007 at 2:04pm

oops. Couldn’t upload the zipped mac app, it is too big. Here’s the Windows app, anyway.

#98745
Mar 10, 2007 at 2:21pm

interesting, i work on the same issue right now, (check the topic: windows windowing question)

i try to get rid of this behaviour to maximize the patcher window, in the application window…
look at the appended patch.

what i want to do then, is to lock the applications window size (if possible)

greets
ingo

#98746
Mar 10, 2007 at 2:25pm

send thispatcher a “fullscreen 1″ message.

#98747
Mar 11, 2007 at 5:01am

It’s called the MDI frame and you can’t get rid of it with MaxMSP.

Your best bet if you really can’t stand it is to go full screen.

-A

#98748
Mar 11, 2007 at 12:45pm

dan pointed me to this thread, take a look.

http://www.cycling74.com/forums/index.php?t=msg&goto=94730

the thing you maybe need is wmangle from thomas grill…

greets
ingo

#98749
Mar 11, 2007 at 1:28pm

you can also try ;max hidemenubar

#98750
Mar 11, 2007 at 1:45pm

Hi! Please suspend my mailing list for two months.
Thanks
Best regards

Shin-kwei Tzeng

________

#98751
Mar 11, 2007 at 3:00pm

laugh at above.

#98752

You must be logged in to reply to this topic.