[vtkusers] Still a Bug in vtkWin32OpenGLRenderWindow ?? -> Solution
de Boer Ingo
I.deBoer at polytec.de
Wed Mar 3 03:23:11 EST 2004
Hello John,
> I am not sure why CVtkMDIView::WindowProc() is required in the sample.
This is because of the automatic handling of VTK for eg EraseBackground
and OnSize...
> The original sample appears to run quite happily on 4.5.0 without this
> override.
What is the original ? Where is it ?
SampleMFC also uses it. And it uses SetWindowID and crashes in the end.
> It would be useful to be aware of the advantages/disadvantages of the
> two approaches and which is the preferred method.
I am not sure myself at the moment. All I need is an MDI application
with double click handled in my derived CView which doesn't crash
in the end ;)
greets
Ingo
---
Dr.-Ing. Ingo H. de Boer
Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax : ++49 7243 604 255
More information about the vtkusers
mailing list