Rendering. Second attempt

Sathya Krishnamurthy skrishna at cscs.ch
Tue Apr 25 12:39:13 EDT 2000


> Hi,
> 
> Since I got no answer to my first mail, I´m posting the question again.
> First of all, I´m working with Windows. I have several windows opened, each one with a different image (I do this with vtkImageWin32Viewer). All I want to do is to close the window I like to without ending the program. I know there must somebody out 
> there who knows how to do it.
> Thanks a lot,
> 

Hi Luis

If you go to 

vtkWin32ImageWindow.cxx or vtkWin32OpenGLImageWindow.cxx there is a
function called 

LRESULT APIENTRY vtkWin32ImageWindowWndProc(HWND hWnd, UINT message, 
                                            WPARAM wParam, LPARAM lParam)
{

remove the WM_DESTROY case:

and rewrite it in your code

Hope this helps

Ciao
~sathya


------------------------------------------------------------------
Sathya Krishnamurthy
Research Scientist  , CSCS
Galleria 2 , Via Cantonale
CH - 6928 , Manno Switzerland
Ph: 41-91-6108260 ----- mobile: 41-76-574-0069
------------------------------------------------------------------
The views, opinions and information contained in this message do not
necessarily reflect the opinions or policies of CSCS, nor does
publication of this information imply an endorsement by CSCS.

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list