[vtkusers] Using a C# window to render?

Serge Lalonde serge at infolytica.com
Fri Feb 22 12:21:33 EST 2013


Has anyone ever tried using a window handle from a C# user control as 
the handle passed to the vtkWin32OpenGLRenderWindow?

We want to write the UI in .NET, but keep the visualization VTK code in 
a separate native C++ DLL so the initialization is done in 2 steps. 
First create the .NET control, then initialize the VTK render window.

My guess is that it would be similar to the vtkMFCRenderWindow sample, 
but without MFC (i.e. straight Win32). Has anyone tried this?

Thanks.
-- 
Signature www.infolytica.com <http:://www.infolytica.com>
300 Leo Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3
(514) 849-8752 x236, Fax: (514) 849-4239



More information about the vtkusers mailing list