DarkWyrm wrote: >> I'm still in doubt how regions are passed. Haven't looked at code. >>DW, can >> you enlighten me how big regions are sent to destination? (if this >>is >> possible?) > > Hmmm..... I don't think I ever figured that one out. I'd say that > probably the best way would be to attach the number of clipping_rects > in the region and then iterate over the rectangles in the BRegion, > attaching them as clipping_rect objects via RectAtInt. OK OK, that is how it's done in present. What I was asking was: how do we send BIG regions across BPortLink? > While I haven't > said until now, I'd imagine that passing BPolygons and BShapes would be > done in a similar fashion except that we'll end up having to create a > server-side class or something which could take the attached data in > the constructor and allow us to work with it. Just in case you were > wondering. :) :-)) No I wasn't. :-) Yes this is similar with regions. And, this is a problem too. What happens with a big BShape or BPolygon? I think I have an idea about this. What about a protocol in protocol? Have to digest this a bit first... Adi.