Two window for two context?

I need to draw two picture, how can I do it?
split window or two CView or …?
please send me example. mailvoice@chat.ru
Thanks.

I think the simplest way to do it with OpenGL is to use the viewport. I mean you define two areas for each picture, and then before rendering a picture you setup the viewport to the according area.

For other way, it depends on your structure : Dialog or SDI …

try to do, what you advise…i must see two picture together!