<!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.&nbsp; I 
would still like the display form&nbsp; to have the mouse rotate and zoom 
controls.&nbsp; 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>&nbsp; 
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>&nbsp;</DIV>
  <DIV>I have downloaded the latest source code for vtk and the latest cmake 
  and&nbsp;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&nbsp;used 
  cmake to create the VS8 solution, opened the solution&nbsp;with VC++ and added 
  the code ( i.e actor, renderer, interactor) for rendering a sphere on the 
  screen.</DIV>
  <DIV>&nbsp;</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>&nbsp;</DIV>
  <DIV>Thanks</DIV></DIV></BLOCKQUOTE></BODY></HTML>