VTK MDI application under 95/98

Ben Held ben.held at staarinc.com
Wed Aug 11 11:22:23 EDT 1999

I have a VTK MDI application that works fine under Windows NT 4.0.
However, when I run it under Windows 95/98, there is a problem in painting.
 If I have two views open, the vtk image is always drawn in the most
recently created view.  So for example, say I create V1 and then V2.  I can
interact with V2 as expected.  However, if I activate V1, what I expect to
see in V1 is drawn in V2.  And when I interact with V1 using the mouse in
the V1 window, the image in V2 is manipulated instead.  Then when I activae
V2, it is again correct.

I have tried calling vtkWin32OpenGLRenderWindow::MakeCurrent in the handler
for the WM_ACTIVATE for the view with no success. 

Any ideas?



Ben L. Held
Simulation Technology & Applied Research, Inc.
11520 N. Port Washington Rd.
Suite 101 B
Mequon, WI  53092
Phone: (414) 240-0293
FAX: (414) 240-0294
e-mail: ben.held at staarinc.com

This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list