[vtkusers] Still a Bug in vtkWin32OpenGLRenderWindow ?? -> Solution

Patric Weis Patric.Weis at Mycrona.de
Wed Mar 3 06:34:49 EST 2004


Hi Ingo,

 > Please, send your example as a zip to me...

I sent the files directly to your eMail adress to keep the list
clean. ;)

Patric Weis
MYCRONA


de Boer Ingo schrieb am 03.03.2004 12:14:

> Hi,
> 
> 
>>>   this->renWin->SetParentId(this->m_hWnd);
>>
>>very wrong.
> 
> This comes with the VTK examples!
>  
> 
>>>   this->renWin->SetParentId(this->GetParent()->GetSafeHwnd());
>>>   this->renWin->SetWindowId(this->GetSafeHwnd());
>>
>>very right.
> 
> Because it is const ? GetSafeHwnd() just returns m_hWnd
>  
> 
>>>That's all and it works for me even with the current nightly
>>>without any crash at the end of the program.
> 
> Please, send your example as a zip to me...
> 
> 
> greets
>   Ingo
>  
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 



More information about the vtkusers mailing list