<div dir="ltr">Send some code demonstrating your use of the vtkRenderWindow. Usually, the default vtkRenderWindowInteractor will take care of closing the render window when the user clicks on the close "x"...<div>
<br></div><div>Maybe you have a custom interactor that is not handling everything that the default one does?<br><br></div><div><br><div class="gmail_quote">On Fri, Aug 1, 2008 at 6:19 PM, Phil Goddard <span dir="ltr"><<a href="mailto:philgoddard@telus.net">philgoddard@telus.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
I'm creating a vtkWin32OpenGLRenderWindow via a call to vtkRenderWindow<br>
without passing in a HWND so that a "default" window is created.<br>
However the close button (the X in the top right hand corner) doesn't seem<br>
to be hooked up.<br>
<br>
There is some code in the MessageProc method that uses WM_DESTROY, however<br>
this never gets called.<br>
<br>
Is this expected behaviour?<br>
Is there a simple way to get a render window created in this way to be<br>
destroyed when the close button is pressed?<br>
<br>
Thanks<br>
Phil.<br>
<br>
<br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div></div>