VTK in a VC++ Dialog

Gerald E Dalley dalleyg at ee.eng.ohio-state.edu
Fri Mar 31 07:46:21 EST 2000


Thanks a bunch!  I've got an app running as a dialog app now.  

--Gerald Dalley
  dalleyg at ee.eng.ohio-state.edu

On Wed, 29 Mar 2000, Asa'd Abu-Tarif wrote:

> Hi Gerald,
> All what you need to do is to put the visualization stuff in the
> OnInitDialog message, the initialization in the constructor of the dialog
> and the clean up in the DestroyWindow message.
> 
> Attached are two files (the header and the source) for a test VTKDialog that
> I've created. It displays a cone.
> 
> The only thing that you might want to change for this example is to set the
> renderer window size to be equal to the dialog size because currently it
> exceeds the static size I'm specifying and so the OK and Cancel buttons are
> not displayed.
> 
> Asad
> 
> ----- Original Message -----
> From: "Gerald E Dalley" <dalleyg at ee.eng.ohio-state.edu>
> To: <vtkusers at public.kitware.com>
> Sent: Tuesday, March 28, 2000 3:58 PM
> Subject: VTK in a VC++ Dialog
> 
> 
> > Does anyone know if it's possible to have VTK render inside a custom
> > dialog control instead of in its own window?  I'm trying to figure out how
> > to use the MS VC++ 6.0 visual dialog editor to handle setting up my GUI
> > layout and controls instead of spending months trying to figure out how to
> > program Windows apps.
> >
> > --Gerald Dalley
> >   dalleyg at ee.eng.ohio-state.edu
> >
> >
> > --------------------------------------------------------------------
> > This is the private VTK discussion list. Please keep messages on-topic.
> > Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> > To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> > <majordomo at public.kitware.com>. For help, send message body containing
> > "info vtkusers" to the same address.
> > --------------------------------------------------------------------
> >
> 

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list