But in all other languages I have used (VB, C++, Delphi) you can have windows inside a “workarea” (PtScrollContainer style widget).
Anyway, I have found out from QNX that this is not possible, although I feel it should be, so I have had to create my own window (using PtContainer) and setting its parent to the PtScrollContainer widget “workarea”. I have now got to add the code to make it resizeable/ draggable etc. I just seem to be re-inventing the wheel!
OK, now I’ve got a better idea of what you want to achieve.
Perhaps this can be achieved with some sort of clipping function (search help for clip if you haven’t done yet)
Perhaps you could also use the standard window and create a raw callback restricting the dragging area (sort of return Pt_END; in case the window would be dragged out of the container). But I am not sure if this works out.