[vtkusers] MakeCurrent() error

satyanarayana reddy satyajanga at gmail.com
Tue Jul 17 00:16:30 EDT 2012


Hi vtkusers,
           I have a vtkCanvas object which renders  vtkImageData and it is
working absolutely fine.
           My application consists of a JFrame with JTabbedPane in it. A
Simple requirement in my application is that whenever a tab gets selected I
have to remove the vtkCanvas object from the previous active tab and add it
to the current active tab. When I am trying to do it I am getting the
following error.

wglMakeCurrent failed in MakeCurrent(), error: handle Invalid()
Please give me some pointers about where I am doing wrong.

Thanks a lot

Best Regards,
Satya.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120717/058e8eeb/attachment.htm>


More information about the vtkusers mailing list