[vtkusers] Still a Bug in vtkWin32OpenGLRenderWindow ?? -> Solution
de Boer Ingo
I.deBoer at polytec.de
Tue Mar 2 11:44:50 EST 2004
The only thing is that I cannot handle a doubleclick.
Because the event is not sent back to my View-class.
This only worked with setting the ParentID to
SetParentId(::GetParent(m_hWnd)) and the windowID to
SetWindowId(m_hWnd) which doesn't work anymore under
VTK 4.4.0
Maybe somebody has a comment on this ?
greets
Ingo
> -----Original Message-----
> From: de Boer Ingo
> Sent: Tuesday, March 02, 2004 4:39 PM
> To: vtkusers
> Cc: de Boer Ingo
> Subject: [vtkusers] Still a Bug in vtkWin32OpenGLRenderWindow ?? ->
> Solution
>
>
>
> Hi all,
>
> find attached some modifications for the MFC_MDI sample.
> This is all based on VTK 4.4.0 release!
> I guess, this is more conform and more clear. I also changed
> the message handling. Therefore, I needed to change 3 lines
> in vtkWin32RenderWindowInteractor.cxx. Maybe some off you should
> check these changes with Borland, Cygwin, etc...
>
> Due to these changes, the OnSize(), OnEraseBkgnd() could be
> deleted. The members are all deleted in OnDestroy() now.
> Sizing, background and generell painting is done by VTK.
> The pipeline is created once in OnInitialUpdate().
>
> If these changes go to the CVS, there should be some
> changes made to MFC_SDI also! Maybe also the 'SampleMFC'
> should be removed because the 'vtkMDI' and 'vtkSDI' sample
> says it all ??
>
> 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