<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312"></head>
<body>
<!--SOHUMAIL_HTML_HEAD_END-->Hello all,<p>I have a trouble in the display of a model(a cube) now.The environment is MS Visual C++ 6.0.And it is a MFC project(Doc-View).I defined the object "vtkWin32OpenGLRenderWindow *renWin;" and "vtkWin32RenderWindowInteractor *renWinInter;" and other objects.<p>Then I call "renWinInter->Initialize();" and "renWin->Render();" in the "View::OnDraw" function. The model can display in the view. But when I refresh the window using "Invalidate(TRUE);" and leaping over "renWinInter->Initialize();" and "renWin->Render();" the model is still displaying in the view. I want to konw which function should I use or how can I do to make the model not display in the view.<p>Thanks and regards<hr size=1><style type="text/css">
<!--
a {font-size:12px;color:black}
a:hover {font-size:12px;text-decoration:underline}
.b{font-family:Arial; font-size:80%; margin-bottom:2px;color:#0000CC}
.pp{font-family:Arial;font-size:10px}
-->
</style>
<table border=0>
<!--tr><td height=18><a href=http://goto.sohu.com/goto.php3?code=mailadt-ta1 target=_blank>搜狐小卫士——全新反垃圾系统</a>
<br>
</td></tr-->
<tr><td height=18><a href=http://goto.sohu.com/goto.php3?code=mailadt-ta target=_blank>立刻拥有1G网络U盘!</font></a>
</td></tr>
<br>
<tr><td height=18><a href=http://goto.sohu.com/goto.php3?code=mailadt-ta1 target=_blank>金曲饕餮,最in最强</a>
</td></tr>
</table><!--SOHUMAIL_HTML_TAIL_END--></body>
</html>