<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16722"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>Has anyone run into a problem similar to this?</DIV>
<DIV> </DIV>
<DIV>Thank you for your time,</DIV>
<DIV>Matt</DIV><p>
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.<p>
</BODY></HTML>