[Max GUI] window within a window

BlitzMax Forums/BlitzMax Programming/[Max GUI] window within a window

Wow this is embarrassing.
I'm sure this is easy but after two hours of searching through the docs and the community I can't even find a reference to it, (woods for the trees is probably apt)...

I'm looking for a way to create a child window with MaxGUI that sits within its parent window and will not cross the parents window boundaries. It seems that wether a new window has a parent or not, it's free to roam about the entire desktop.

Example of standard child window setup...
ChildWindow=CreateWindow("Mini Window",300,300,300,300,Mainwindow)

What I'd like to create would be something like a photoshop interface for my app. It would need windows which are locked within the main app window.

Any ideas?