Forums > MaxMSP

Is possible create stand alone appz with trasparent background?

October 15, 2010 | 11:33 am

Hello, i are really newbie with max, im trying to build some stand alone little aplication, basically i want my aplication no have the clasical menu window, and no window.
I want make my appz have a nice background with rounded corners.
Is possible do this with max when create stand alone appz?
Please if possible cna explain how step by step?

Also i see one ugly trouble in stand alone appz, every tie i open my appz creaed with max, the runtime window open lol!
Is possible make that windows always stay closed?
How?

Really apreciate any help.

Best regards.


October 15, 2010 | 6:51 pm

There’s no way to make an app have a transparent background currently. Nor have rounded corners as far as I know. But to get rid of the ‘runtime’ window as you call it, put a [standalone] object in your standalone. Then open the inspector for the [standalone] object and uncheck "Status window visible at startup". This should make it so your app opens without the Max window.

________________________________
*Never fear, Noob4Life was never here!*


October 15, 2010 | 7:36 pm

Round corners, transparent background? Yes :)

– Pasted Max Patch, click to expand. –

I cannot remember how to remove the bottom window bar using [thispatcher ], but I’m pretty sure It’s possible……..I think I’ve done it before, but those patches are on a hard drive I left in my parents house :P

Also, there is a js version of the windowdrag subpatch that’s easier to use, and there is also [tap.windowdrag], but that’s part of their retail package.


October 15, 2010 | 8:59 pm

To remove the toolbar, you can uncheck Show Toolbar on Open in the patcher inspector.


October 15, 2010 | 10:44 pm

Wah, that’s so cool – Thank you!


October 16, 2010 | 10:49 am

Ah, thanks EJ!


October 16, 2010 | 10:54 am

Just a heads-up to anyone trying this stuff out. It’s a very good idea to limit the pixel range that you can drag the window around by to your screen size. With my example patch, it’s possible to drag the "drag-area" of the window off-screen irretrievably, which would be annoying to deal with if you were making an actual app.

This might only apply if you’re on Mac, as it’s the top menubar that causes the problem.


October 16, 2010 | 6:58 pm

Please dont laugh !! jiji
But where paste that code?
Im starting with max, no idea how use that code.
Pleaseca explain step by step : )

That code turn all backrond transparent? correct?
My appz can have any kind of shape form?

My idea is load a transparent png like background, in that way my appz have the form of png have : )

Thankyou !


October 16, 2010 | 7:22 pm

no worries, the answer to using the pasted code is here:

http://cycling74.com/forums/topic.php?id=26095

(love this transparent background stuff! i had no idea…)
________________________________
*Never fear, Noob4Life was never here!*


October 16, 2010 | 8:13 pm

Thk Nobforlive
JUJUJU !! i love this patch things jijij !!
AWesome!!


October 16, 2010 | 8:29 pm

TIM, this is exactly what i try to do,
Tankyou!

Ayway one more request, if possible, how make aplication stay always on top?

Bets regards !



MIB
October 16, 2010 | 8:44 pm

That’s a neat trick to know. Thanks Tim


October 17, 2010 | 10:54 am

I’m not aware of a way to create a window that will stay on top of all other applications. I’m guessing you’re thinking of something like the Novation Automap window? It might be possible though, EJ could let us know definitively.

You can use the "window float" message to [thispatcher] to make that window stay on top of all other max/msp windows, but it doesn’t affect the cross-application window layering.

Also if anyone has a link to the windowdrag js code that would be great!

cheers


October 17, 2010 | 11:11 am

Hi Tim
Basically no is possible max apx window stay o top over all the other windows?
: (

yes, i wnt my aPPz stay on top over all. : (


October 17, 2010 | 11:15 am

I don’t know of a way, but that doesn’t mean it’s not possible! Max can do a lot of things :)

We’ll have to wait and see if someone more experienced can tell us.



jko
October 17, 2010 | 8:31 pm

Maybe like that?

– Pasted Max Patch, click to expand. –

(poll 0 to deactivate alway in front)


October 17, 2010 | 9:05 pm

Cant make this work, have this error:

hi: 0 is not a valid device number

This patch not work. : (



jko
October 17, 2010 | 9:33 pm

Check the hi object helpfile and set hi to your mouse input as done there. on my system 0 get’s me the mouse therefore I shortend it a bit…


October 17, 2010 | 9:37 pm

interesting that if your background is exactly 0. alpha, you can click through to other windows or apps, but with any alpha at all, it catches the click. pretty cool.

I don’t think you can have any "real" rounded corners in any window, that’s part of the OS, after all. but you can fake it pretty well with transparency.

Love that mousestate! Can easily be modified to drag jit.windows too, without using the title bar. Then you can remove the frame and still have it moveable.

http://cycling74.com/forums/topic.php?id=25593


October 17, 2010 | 10:40 pm

to float a window above all apps without [hi] or polling:

– Pasted Max Patch, click to expand. –

October 17, 2010 | 10:54 pm

Sweeet!

It’s all possible, unsurprisingly :)

///////////////

Incidentally, it really seems like the [thispatcher] help and reference files could use a solid update! Neither seem to mention the "topmost $1" message, and the reference file says "use of thispatcher to create new objects is not supported in Max 5." That seems to be wrong, because I can create new objects with it in Max 5 ;)


October 18, 2010 | 3:11 am

Absolutly wonderfull !!


October 18, 2010 | 9:48 am

Just wondering how people closed the first seethru app – I ended up adding and using the wclose message . .
Also is the topmost message documented? I didn’t see it in thispatcher help or reference – Or Tims comment above
Cheers
MM


October 18, 2010 | 10:09 am

I continue stuck in rmeove the max windows in stand alone appz.
Can somebody put some example please?

One morequestion related to windows manage.
How call to full scren?

Best regards !


October 20, 2010 | 2:42 pm

Tim Lloyd or anybody, can tellme why this not work?

– Pasted Max Patch, click to expand. –

October 20, 2010 | 4:25 pm

I fixed adding delay to fullscreen and topmost


October 20, 2010 | 4:39 pm

Now found a new problem, after create stand alone with this, i run the stand alone, adn transparent not work, loadbang not fire "window flags notitle, window exec"

Some idea?

– Pasted Max Patch, click to expand. –

October 21, 2010 | 6:16 am

Hey guys,

Great thread. Sorry if I missed this, is it possible to have patcher background transparency with the titlebar (rounded corners aside)?

best,
Zachary


October 21, 2010 | 8:50 am

Nope, only no titled windows can be transparent.


October 21, 2010 | 8:58 am

Any intention of adding this capability in future versions? Just curious.



EMV
December 20, 2010 | 2:33 pm

Wow, this thread is one of those treasures that add value to the product by casually showing some cool undocumented feature.

It also shows that the documentation is behind on the actual product.


December 21, 2010 | 12:54 pm

EMV: are you sure about the relevance of the possibility of transparent
windows for an app which is not even written yet?



EMV
December 26, 2010 | 5:23 pm

@Roman: Yes. Simply the knowledge that there is the possibility of creating transparent windows gave me multiple ideas for new patches that would depend on that functionality (overlays that display parameter info on top of other programs for example).

New possibilities inspire me.


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