<div>Dear All,</div>  <div>&nbsp;</div>  <div>I'm working on a Win32 API console application. I've incorporated VTK to the main program and successfully rendered the window, which a child window, by vtk. Here's my problem, when&nbsp;the window&nbsp;generated by vtk is closed, the main window is closed as well. In my code, I used <FONT size=2>renWin-&gt;SetParentId(my_mainwindow) to set up the parent window.&nbsp; I guess vtk somehow takes control of the parent window too. I've searched through the documents, but most people are talking about MFC. I'm wondering if anybody here working on Win32 API has met similar problems. Thank you.</FONT></div>  <div><FONT size=2></FONT>&nbsp;</div>  <div><FONT size=2>Regards,</FONT></div>  <div><FONT size=2>Jay</div></FONT><p>&#32;

<hr size=1>Want to start your own business? Learn how on <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index">Yahoo! Small Business.</a>