how do i minimize a max patch window from within the patch?

11OLSEN's icon

hey, i looked at thispatcher, pcontrol and max messages, seems there's
no way to minimize a window.

thanks.

Macciza's icon

why minimise not wclose?

Luke Hall's icon

You could use applescript. Are you using a mac?

11OLSEN's icon

i'm using a win 7 pc.

@macciza: i want a standalone max patch to be active but not viewable to save some space on the screen. but from time to time it has to be viewable
to make some changes.

i would like to offer a "start minimized" option.

thanks for your replys so far

11OLSEN's icon

then this becomes a feature request to c74. i can not remove the titlebar
of my standalone app in windows because there's no "max" way to minimize the window. There are ways to close or maximize (fullscreen) the window
so why not to minimize?

or are there more undocumented messages to [thispatcher] like "topmost"?

Floating Point's icon

I'd like to know the answer to this too. I want to be able to minimize the parent window in a stand alone using patcher scripting or some other means on windows 7. Is this possible?

11OLSEN's icon

what i did was hiding the main patcher after opening another frameless patcher which showed only a smaLL icon that can be dragged and doubleclicked to recover the main window and hide the icon again. dragging and doubleclick are detected by a jsui layered above the icon. O.

Floating Point's icon

Ahh OK thanks, very inventive-- yet another completely nuts but typical max-style workaround... cheers, will try.

Roman Thilenius's icon

creating a custom "dock" in your own app is always the best thing to do in that case, for the author, and for the user.

Dan Laüt's icon

Another solution: window size -1 -1 -1 -1.

Max Patch
Copy patch and select New From Clipboard in Max.