[vtk-developers] GUISupport directory ?
a.maclean at cas.edu.au
Tue Feb 8 19:54:10 EST 2005
What you have done looks good, I wrote the original stuff years ago. If I
have time, I'll give it a test run over the next few weeks.
From: vtk-developers-bounces at vtk.org [mailto:vtk-developers-bounces at vtk.org]
On Behalf Of Clinton Stimpson
Sent: Wednesday, 9 February 2005 09:00
To: vtk-developers at vtk.org
Subject: Re: [vtk-developers] GUISupport directory ?
Ahh. never mind. I got it working under MFC the way I think it should
When I get this in, any MFC guys are free to change it to make it better.
Clinton Stimpson wrote:
> Ken Martin wrote:
>> Hey Clint, I think the new directory is fine, a little small for a
>> top level
>> directory but it works. The other GUI support classes need to be
>> moved into
>> that directory as well. That is part of the deal. So if you could
>> sniff out
>> the other GUI support classes and move them into the same directory that
>> would be appreciated.
> So I took a stab at putting MFC support in GUISupport. I'm trying to
> make a generic CWnd based class that puts a vtk window in it, and it's
> proving to be a real pain after two full days at it.
> I'm not an expert at MFC, but I've helped with a couple MFC apps
> before, one of which used a VTK window that I had setup.
> I see extra support in the vtkWin32* classes for MFC. The impression
> I get is that it is just easier to add a few lines of code to make a
> CView, CWnd, CWhatever have a VTK window and use the extra support in
> vtkWin32*, than it is to make a generic CWnd based class that can be
> plugged into any part of an MFC app and work without intervention.
> MFC seems to be quite imposing on how things are supposed to work. I
> tried to make a class derived from CWnd and "plug it in", but it
> doesn't always work.
> Perhaps some MFC guru would like to contribute something in GUISupport
> for MFC apps. Something that'll work in pretty much any MFC GUI.
> It'll be higher quality than anything I can make with my little MFC
> What other C++ GUI classes need to be moved? There's the vtkTk*Widget
> files in Rendering. That it?
> vtk-developers mailing list
> vtk-developers at vtk.org
vtk-developers mailing list
vtk-developers at vtk.org
More information about the vtk-developers