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

de Boer Ingo I.deBoer at polytec.de
Wed Mar 3 06:14:48 EST 2004


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
 



More information about the vtkusers mailing list