<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=843255520-14042007><FONT face=Arial color=#0000ff
size=2>Following the MVC pattern, has anyone developed a VC++.Net application
where one form holds the controls and the other form displays the image. I
would still like the display form to have the mouse rotate and zoom
controls. I think I'm just adding to the previous message for
clarity.<BR>BR</FONT></SPAN></DIV>
<DIV><SPAN class=843255520-14042007><FONT face=Arial color=#0000ff size=2>
Bob</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
vtkusers-bounces+bob=stlcc.org@vtk.org
[mailto:vtkusers-bounces+bob=stlcc.org@vtk.org]<B>On Behalf Of </B>Meisam
Aliroteh<BR><B>Sent:</B> Friday, April 13, 2007 12:55 PM<BR><B>To:</B>
vtkusers@vtk.org<BR><B>Subject:</B> [vtkusers] Windows Forms Application and
VTK under Visual C++ 2005<BR><BR></FONT></DIV>
<DIV id=mb_0>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I have downloaded the latest source code for vtk and the latest cmake
and was able to compile VTK using Visual C++ 2005. I have also been able
to create some simple console application to render a sphere. I used
cmake to create the VS8 solution, opened the solution with VC++ and added
the code ( i.e actor, renderer, interactor) for rendering a sphere on the
screen.</DIV>
<DIV> </DIV>
<DIV>I would like to know if there is a rather easy and simple way to have a
Windows Forms Application instead of a Console Application, and have VTK
render/interact with that form. Basically, I would like to use VS8 IDE to
design the GUI of my form and VTK to do the 3D rendering !!! </DIV>
<DIV> </DIV>
<DIV>Thanks</DIV></DIV></BLOCKQUOTE></BODY></HTML>