Thanks wp,
I will make sure that I don't change canvas.cliprect (if I'm using it to calc the canvas' size).
I've attached a edited version of my previous project; this version includes the container's width/height and the canvas' width/height.
I would be interested in hearing if the canvas' width/height is correct (that is it matches the container's size), in any OS.
cheers
S.