Hi,
I wonder if it is by design that OnPaint is called even if the DocumentPanel is not visible. Works fine on the tabstrip control.
Take a look at this samples:
Thanks,
- jorge
PS: how do i attach a file? i've seen it before but cant find anywhere to do it (Mac OS X 10.5.2 - Safari 3.1.1)