[vtkusers] [vtk users] Vtk and MFC strange problem

Matt Commodore Matt.Commodore at rwdi.com
Thu Feb 24 11:04:40 EST 2011


I'm working on an app using VTK in the MFC framework. I draw to the window by associating vtkRenderWindow with the CView using SetWindowID. Things usually work as expected but at some unknown point VTK "decouples" from the Frame window and starts its own window, although nothing gets drawn in it. The code seemingly runs fine during the entire time.
 
The code works fine up until some unknown piece of code is added or changed. At that point, the strange behaviour starts to occur the second time the program is run, and every time after that.
 
Has anyone run into a problem similar to this?
 
Thank you for your time,
Matt


     RWDI - One of Canada's 50 Best Managed Companies
     www.rwdi.com/50_best/

This communication is intended for the sole use of the party to whom it was addressed and may contain information that is privileged and/or confidential. Any other distribution, copying or disclosure is strictly prohibited. If you received this email in error, please notify us immediately by replying to this email and delete the message without retaining any hard or electronic copies of same. 

Outgoing emails are scanned for viruses, but no warranty is made to their absence in this email or attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110224/7001bcf0/attachment.htm>


More information about the vtkusers mailing list