Issues with COpenGLView::setVisible() and addView()

Hi,
indeed the first one is a refactoring bug. For the second issue, can you write down the calls you make? That makes it more clear to me what you are doing.

Cheers,
Arne