Hi,all,
   I want to control the main VTK window in my code process such as vtkRenderWindow->Close() in vc++6.0,but I didn't found it in VTK library.
   In my program,I build the main VTK window by click a button,and I want to do other process after I close this window.But,if I click the button of close in the main VTK window,all programs will be closed.So I want to build or close the main VTK window by click a button in my control window(such as dialog of vc++6.0)
   I use 'delete m_RenderingWindow' to close vtkWindow. The vtkWindow is closed,but there is always error(ERROR:In D:\vtk\common\vtkObject.cxx,line 114 vtkOjject(OX009D1D80):Trying to delete object with non-zero reference count.) .
   Could you tell me how to do?
thanks!
csyang