[vtkusers] MakeCurrent() error

satyanarayana reddy satyajanga at gmail.com
Tue Jul 17 08:15:56 EDT 2012


On Tue, Jul 17, 2012 at 12:16 AM, satyanarayana reddy
<satyajanga at gmail.com>wrote:

> 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/39a48f63/attachment.htm>


More information about the vtkusers mailing list