2008/6/27 Gary Chambers gazzaguru2@btinternet.com:
Except when the border and interior overlap... (which can be desired, modern "Mac style" default focus indications, as an example). Again, for that, a decoration would be best (not a border in the strictest sense).
As for clipping, the lack of low-level support for arbitrary shape clipping in Balloon is a problem and stencil-based clipping might be computationally expensive in BitBlt.
Stencil-based clipping has its own drawbacks: its very hard to draw shapes antialiased once you clip area on per-pixel basis. I think, better would be to keep with shapes, and make engine which can have a notion of current clipping shape.
Gary.