[vtkusers] MakeCurrent() error

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue Jul 17 08:20:01 EDT 2012


Did you make sure you were performing those operation within the EDT ?
If yes, then don't do what you are doing. Find another way...

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.
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list