Can you float a bpatcher window?

bloodroot's icon

I've got a bpatcher with an inlet hooked up to a thispatcher, but it's not responding to window flags float. In fact it doesn't seem to respond to any window messages, even getflags. If I change it from a bpatcher to a patcher it works as documented.

Floating Point's icon

that's because a bpatcher is not a window-- it's an object. If you want it to float, make the enclosing parent window floating
T

bloodroot's icon

But I can open a separate bpatcher window with a pcontrol, it just won't stay on top. If I enclose the bpatcher in a parent patcher then I can no longer embed the UI in my max4live device. Is there really no way to open a bpatcher and float it?

Floating Point's icon

if you've wired a pcontrol to the inlet of the bpatcher, and send an open command, it's just opening the originating patch, enclosed in its own window; so you might as well just open an embedded subpatch, using thispatcher to determine its behaviour. But I don't know if this is appropriate or works in context with your needs in m4l.

Roman Thilenius's icon

what terry says.

so, to get what you want, dont use pcontrol but implement
this functionality yourself by opening a copy of the bpatcher
patch from disk (with command-to-max or with the shell
object) and set it to the desired window style and size
using loadbang->...->thispatcher inside.

-110